tag mismatch command
#4

Quote:
Originally Posted by Sawalha
Посмотреть сообщение
Why do you need the SpawnLocation enum?
because:
Spawn not facing the right way.
that why.

error come from

pawn Код:
CMD:testingrescue(playerid, params[])
{
    if (APlayerData[playerid][PlayerClass] == TEAM_TRUCKER)
    {
        new Random = random(sizeof(RandomSpawns));
        SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
        SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);
        SendClientMessage(playerid, 0xFFFFFFFF, TXT_PlayerRescued); // Send the player a message that using "/rescue" costs $200
        SendClientMessage(playerid, 0xFFFFFFFF, TXT_PlayerRescued2); // Send the player a message that using "/rescue" costs $200
        RewardPlayer(playerid, -100, 0);
    }
    return 1;
}
Reply


Messages In This Thread
tag mismatch command - by DerickClark - 19.01.2014, 15:12
Re: tag mismatch command - by Sawalha - 19.01.2014, 15:21
Re: tag mismatch command - by iZN - 19.01.2014, 15:26
Re: tag mismatch command - by DerickClark - 19.01.2014, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)