29.01.2010, 17:34
Quote:
Originally Posted by MaykoX
|
pawn Код:
OnPlayerStateChange
if(gang[playerid] == 1)
{
new newcar = GetPlayerVehicleID(playerid);
if(newcar == 1)
{
if(newstate == PLAYER_STATE_DRIVER)
{
SendClientMessage(playerid,COLOR,"You are not allowed to drive this car");
RemovePlayerFromVehicle(newcar);
}
}
}
Just change the newcar == 1 to your car.