19.09.2011, 15:12
pawn Код:
if(strcmp(cmd,"/aerolv",true) == 0)
{
new nome[MAX_PLAYER_NAME];
new stringg[38 + MAX_PLAYER_NAME];
GetPlayerName(playerid, nome, sizeof(nome));
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),1580.5807,1146.6898,15.2947);
}
else
{
SetPlayerPos(playerid, 1580.5807,1146.6898,15.2947);
}
format(stringg, sizeof(stringg), "[INFO] %s foi para o Aero de Las Venturas",nome);
SendClientMessageToAll(AAZUL, stringg);
return 1;
}