24.01.2011, 13:02
I made a neon script
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??
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); |
I tried DestroyObject(neon1[playerid]); but doesnt work any ideas??