pawn Код:
//TOPO DO GM
new CarroDoJгo[NUMERO DE CARROS DO PLAYER];
//public ongamemodeinit
CarroDoJгo[0] = AddStaticVehicleEx(bla bla bla);
CarroDoJгo[1] = AddStaticVehicleEx(bla bla bla);
CarroDoJгo[2] = AddStaticVehicleEx(bla bla bla);
//public OnPlayerStateChange(playerid...
new carid = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER)
{
new xuxubeleza[24];
GetPlayerName(playerid, xuxubeleza, 24);
if(carid >= CarroDoJгo[0] && carid <= CarroDoJгo[2] && strcmp(xuxubeleza, "Jгo_Fijгo", false))
{
RemovePlayerFromVehicle(playerid);
}
}