[Duda] Ayuda
#3

Quote:
Originally Posted by PT
Посмотреть сообщение
assi

pawn Код:
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

                   
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
        new vid = GetPlayerVehicleID(playerid);
        if(vid == carropolicia && Informacion[playerid][pLider] != 1 || Informacion[playerid][pMiembro] != 1)
        {
            RemovePlayerFromVehicle(playerid);
            SendClientMessage(playerid, COLOR_GRAD2, "Usted no es policia.");
        }
    }
    return 1;
}
Me sale el siguiente error :
Код:
 error 033: array must be indexed (variable "carropolicia")
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: 1 Guest(s)