08.01.2017, 07:04
Quote:
|
You don't do that...
You're using the actual ModelID of the object, you should be tracking the created object via a variable Код:
Object[playerid] = SetPlayerAttachedObject( playerid, 2, 18634, 7,0.000000, 0.100000, 0.350000, -35.224993, 45.215000, 1.500000, 5.000000,1.500000, 1.500000); Код:
DestroyObject(Object[playerid]); This is probably entirely wrong, but the main thing is that you need to track the actual object, so you can destroy it, as the model ID isn't what it goes off. It's similar to cars... If you spawn cars, you can put Код:
AdminCar = CreateVehicle(bla,de,bla); Each one that is created will make the object ID for the next increment, hence why you need to track it. |


