05.12.2012, 16:49
(
Последний раз редактировалось Maklister; 05.12.2012 в 17:25.
)
pawn Код:
// Public OnPlayerStateChange
new vid = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER)
{
if(vid == Grove[0] || vid == Grove[1] || vid == Grove[2] || vid == Grove[3])
{
if(pDados[playerid][Grove] == 1)
{
// Funзгo ao ser da grove o player
}
else
{
RemovePlayerFromVehicle(playerid);
}
}
}
return 1;