25.09.2011, 00:22
pawn Код:
if(strcmp(cmdtext, "/lv", true) == 0)
{
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "[BDP] %s ( ID: %d ) Foi Para {00FF00} ( /Lv )", pName, playerid);
SendClientMessageToAll(0x33CCFFAA, string);
if(GetPlayerState(playerid) == 2)
{
SetVehiclePos(GetPlayerVehicleID(playerid), 2221.7649,2457.4524,-7.7968);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
}
else
{
SetPlayerPos(playerid, 2238.4016,2449.2539,11.0372);
}
SetPlayerInterior(playerid, 0);
return 1;
}
ninja acima postou antes