Destroy object function
#7

Quote:
Originally Posted by [03]Garsino
Посмотреть сообщение
pawn Код:
// Creating the objects
SetPVarInt(playerid, "neonuc1", CreateObject(18646,0,0,0,0,0,0,100.0));
SetPVarInt(playerid, "neonuc2", CreateObject(18646,0,0,0,0,0,0,100.0));
AttachObjectToVehicle(GetPVarInt(playerid, "neonuc1"), GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neonuc2") GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
pawn Код:
DestroyObject(GetPVarInt(playerid, "neonuc1")), DestroyObject(GetPVarInt(playerid, "neonuc2")); // Destroying the objects
I have a question about this script. Why do you use PVar? EVER
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: 2 Guest(s)