07.06.2012, 12:41
Just did
My usage is fine as I copyed the sage for the one I just pasted.
Heres some more... This is the usage in a switch statement
My usage is fine as I copyed the sage for the one I just pasted.Heres some more... This is the usage in a switch statement
pawn Код:
case 2:
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid), FunTP[listitem][4], FunTP[listitem][5], FunTP[listitem][6]);
SetVehicleZAngle(GetPlayerVehicleID(playerid), FunTP[listitem][7]);
}
else
{
SetPlayerPos(playerid, FunTP[listitem][0], FunTP[listitem][1], FunTP[listitem][2]);
SetPlayerFacingAngle(playerid, FunTP[listitem][3]);
}
format(string, sizeof(string), "%s has teleported to %s", GetPlayerNameEx(playerid), FunTPNames[listitem]);
}

