Jump to content
  • 0

Ajutoor


Septy17

Question

Ce este gresit aici ? :(

[pawn]if (newkeys==KEY_SECONDARY_ATTACK)

{

    if(PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0)

    {

        if(IsPlayerConnected(playerid))

          {

            if(PlayerToPoint(2, playerid,1478.6801,-1814.8496,15.3944))

            {

      SetPlayerPos(playerid,388.2494,173.4076,1008.4747);

      SetPlayerInterior(playerid,3);

      SendClientMessage(playerid,COLOR_WHITE,"» Bine ai venit in {00FF00}Primaria Los Santos{ffffff}.");

        return 1;

              }

          }

      }

}

if (newkeys==KEY_SECONDARY_ATTACK)

{

    if(PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0)

    {

      if(IsPlayerConnected(playerid))

        {

        if(PlayerToPoint(2, playerid,388.2494,173.4076,1008.4747))

          {

  SetPlayerPos(playerid,1478.7048,-1807.0890,13.5469);

  SetPlayerInterior(playerid,0);

    return 1;

          }

        }

    }

}

[/pawn]

Imi da [pawn]error 010: invalid function or declaration[/pawn]

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

[pawn](53176) : error 010: invalid function or declaration

(53178) : error 010: invalid function or declaration

(53180) : error 010: invalid function or declaration

(53182) : error 010: invalid function or declaration

(53187) : error 010: invalid function or declaration

(53192) : error 010: invalid function or declaration

(53194) : error 010: invalid function or declaration

(53196) : error 010: invalid function or declaration

(53198) : error 010: invalid function or declaration

(53202) : error 010: invalid function or declaration[/pawn]

Linia 53176 este  [pawn]if (newkeys==KEY_SECONDARY_ATTACK)[/pawn] , adica prima, iar 53202 este ultima din cod.

Link to comment
Share on other sites

	if(newkeys==KEY_SECONDARY_ATTACK)
	{
		if(PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0)
		{
			if(PlayerToPoint(2, playerid,1478.6801,-1814.8496,15.3944))
			{
			SetPlayerPos(playerid,388.2494,173.4076,1008.4747);
			SetPlayerInterior(playerid,3);
			SendClientMessage(playerid,COLOR_WHITE,"» Bine ai venit in {00FF00}Primaria Los Santos{ffffff}.");
			}
			if(PlayerToPoint(2, playerid,388.2494,173.4076,1008.4747))
			{
			SetPlayerPos(playerid,1478.7048,-1807.0890,13.5469);
			SetPlayerInterior(playerid,0);
			}
		}
	}

nu ar trb sa-ti mai dea nici o eroare

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.