[Duda] Ayuda
#4

perdon

pawn Код:
// el topo del game  mode
new carropolicia[2];

// OnGameModeInit
carropolicia[0] = AddStaticVehicleExP(596,2202.9690,21.4333,26.2109,89.1932,0,1,TIEMPO_SPAWN); // Auto Patrulla 1
carropolicia[1] = AddStaticVehicleExP(596,2203.2393,18.6386,26.2104,87.9438,0,1,TIEMPO_SPAWN); // Auto Patrulla 2


//OnPlayerEnterVehicle
for(new c = 0; c < sizeof(carropolicia); c++)
{
    new stat = GetPlayerState(playerid);
    if(stat == PLAYER_STATE_DRIVER)
    {
        if(Informacion[playerid][pLider] != 1 || Informacion[playerid][pMiembro] != 1)
        {
            RemovePlayerFromVehicle(playerid);
            SendClientMessage(playerid, COLOR_GRAD2, "Usted no es policia.");
        }
    }
}
Reply


Messages In This Thread
[Duda] Ayuda - by Gustavolemon - 01.10.2013, 14:27
Re: [Duda] Ayuda - by PT - 01.10.2013, 20:09
Respuesta: Re: [Duda] Ayuda - by Gustavolemon - 01.10.2013, 20:37
Re: [Duda] Ayuda - by PT - 01.10.2013, 20:51
Respuesta: [Duda] Ayuda - by Gustavolemon - 01.10.2013, 20:56
Respuesta: [Duda] Ayuda - by DesingMyCry - 01.10.2013, 21:00
Re: Respuesta: [Duda] Ayuda - by PT - 01.10.2013, 21:01
DesingMyCry - by Gustavolemon - 01.10.2013, 21:02
Re: Respuesta: Re: Respuesta: [Duda] Ayuda - by PT - 01.10.2013, 21:06
Respuesta: [Duda] Ayuda - by DesingMyCry - 02.10.2013, 00:46

Forum Jump:


Users browsing this thread: 2 Guest(s)