Destroy object function
#1

I made a neon script

Quote:

new neonuc = CreateObject(18646,0,0,0,0,0,0,100.0);
new neonuc1 = CreateObject(18646,0,0,0,0,0,0,100.0);
AttachObjectToVehicle(neonuc, GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
AttachObjectToVehicle(neonuc1, GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);

How can i delete this object so it only deletes it for the car in which player typed that command
I tried DestroyObject(neon1[playerid]); but doesnt work any ideas??
Reply


Messages In This Thread
Destroy object function - by Swiftz - 24.01.2011, 13:02
Re: Destroy object function - by Swiftz - 24.01.2011, 13:43
Re: Destroy object function - by TheArcher - 24.01.2011, 13:44
Re: Destroy object function - by [03]Garsino - 24.01.2011, 13:48
Re: Destroy object function - by Swiftz - 24.01.2011, 14:01
Re: Destroy object function - by Swiftz - 24.01.2011, 14:04
Re: Destroy object function - by TheArcher - 24.01.2011, 14:07
Re: Destroy object function - by Swiftz - 27.01.2011, 14:40
Re: Destroy object function - by [03]Garsino - 27.01.2011, 14:44
Re: Destroy object function - by Swiftz - 27.01.2011, 23:09

Forum Jump:


Users browsing this thread: 9 Guest(s)