01.04.2012, 21:12
Hm, tente assim
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520)
{
switch(GetPlayerSkin(playerid))
{
case 266: RemovePlayerFromVehicle(playerid);
case 267: SendClientMessage(playerid, -1 ,"|| Teste do Lucas Totola!!");
case 265: RemovePlayerFromVehicle(playerid);
default: Ban(playerid);
}
}
}
return 1;
}