Quote:
Originally Posted by DJloko
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; }
entendeu agora?
|
Entendi mais nao deu certo porque o player consegue entrar no carro VIP!