19.01.2014, 15:27
because:
Spawn not facing the right way.
that why.
error come from
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;
}