20.06.2011, 22:56
pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)//se o state й driver, condutor
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)//se o modelo й 562, elegy
{
if(PlayerInfo[playerid][VIP] != 1)//se nao й vip
{
RemovePlayerFromVehicle(playerid);//ejecta do carro
}
}
}
return 1;
}