25.11.2011, 17:38
Deu certinho pharrel o comando /fumaca... sу que o:
deu nao
pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
LastVehicle[playerid] = GetPlayerVehicleID(playerid);
if(oldstate == PLAYER_STATE_DRIVER)
{
if(smoking[LastVehicle[playerid]])
DestroyObject(LastVehicle[playerid]);
LastVehicle[playerid] = 0;
}
return 1;
}