Object refuses to remove itself.
#10

UC is for the vehicles to see if they have a siren.
Thats why I have UC[VID] = 0; afterwards, cause when the siren gets put onto the vehicle the value would change to one.

VID is VehicleID.

pawn Код:
new CU[MAX_VEHICLES];
new Siren[MAX_VEHICLES];
new VID = GetPlayerVehicleID(playerid);

if(UC[VID] == 1)
{
DestroyObject(siren[UC]);
UC[VID] = 0;
return 1;
}
Reply


Messages In This Thread
Object refuses to remove itself. - by iLcke - 03.04.2012, 04:37
Re: Object refuses to remove itself. - by Cjgogo - 03.04.2012, 04:47
Re: Object refuses to remove itself. - by iLcke - 03.04.2012, 04:59
Re: Object refuses to remove itself. - by Cjgogo - 03.04.2012, 05:06
Re: Object refuses to remove itself. - by Marricio - 03.04.2012, 05:13
Re: Object refuses to remove itself. - by iLcke - 03.04.2012, 05:16
Re: Object refuses to remove itself. - by Cjgogo - 03.04.2012, 05:18
Re: Object refuses to remove itself. - by Marricio - 03.04.2012, 05:21
Re: Object refuses to remove itself. - by MP2 - 03.04.2012, 05:22
Re: Object refuses to remove itself. - by iLcke - 03.04.2012, 05:27

Forum Jump:


Users browsing this thread: 1 Guest(s)