OnVehicleDeath - how can I do?
#2

Hello!

Why you use a loop? You have the parameter "vehicleid".
PHP код:
public OnVehicleDeath(vehicleid,killerid)
{
    if(
Veicolo[vehicleid][Creato] == 1)
    {
        if(
Veicolo[vehicleid][Acquistato] == 1)Veicolo[vehicleid][Distrutto] = 1;
        else 
Veicolo[vehicleid][Distrutto] = 0;
    }
    return 
1;

I don't know wheather you want it so.
Reply


Messages In This Thread
OnVehicleDeath - how can I do? - by DarkLouis - 02.05.2015, 12:26
Re: OnVehicleDeath - how can I do? - by Mencent - 02.05.2015, 12:30
Re: OnVehicleDeath - how can I do? - by sammp - 02.05.2015, 12:31
Re: OnVehicleDeath - how can I do? - by DarkLouis - 02.05.2015, 12:32
Re: OnVehicleDeath - how can I do? - by Mencent - 02.05.2015, 12:39
Re: OnVehicleDeath - how can I do? - by DarkLouis - 02.05.2015, 12:47
Re: OnVehicleDeath - how can I do? - by DarkLouis - 02.05.2015, 13:56

Forum Jump:


Users browsing this thread: 1 Guest(s)