Coches para admin
#2

podes usar esto como ejemplo:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER){
        new Pveh;
        Pveh = GetVehicleModel(GetPlayerVehicleID(playerid));
        if(Pveh == 520 || Pveh == 425 || Pveh == 432 || Pveh == 447){
            if(PlayerInfo[playerid][Level] == 0){
              RemovePlayerFromVehicle(playerid);
            return SendClientMessage(playerid, COLOR_RED, "Este vehiculo es solo para administradores");
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Coches para admin - by RatHack - 11.06.2010, 20:33
Re: Coches para admin - by TheChaoz - 11.06.2010, 20:44
Re: Coches para admin - by RatHack - 11.06.2010, 20:50
Re: Coches para admin - by ConecCionMex - 11.06.2010, 20:51
Re: Coches para admin - by MedinaRockz - 11.06.2010, 20:52
Re: Coches para admin - by RatHack - 11.06.2010, 20:52
Re: Coches para admin - by MedinaRockz - 11.06.2010, 20:53
Re: Coches para admin - by RatHack - 11.06.2010, 20:54
Re: Coches para admin - by ConecCionMex - 11.06.2010, 20:55
Re: Coches para admin - by RatHack - 11.06.2010, 20:56

Forum Jump:


Users browsing this thread: 1 Guest(s)