Object question
#2

Are you sure you're using the right object ID's of the object instances you want to destroy and not the object model? It's a common mistake people make, you don't refer to the model of the object instance when interacting with it through Pawn functions, you refer to the unique object ID.

See this page for more information:

https://sampwiki.blast.hk/wiki/DestroyObject

You can also take a look at this page for an example on storing the object ID and refering to it in later code:

https://sampwiki.blast.hk/wiki/MoveObject
Reply


Messages In This Thread
Object question - by Tommy_Mandaz - 11.03.2011, 23:42
Re: Object question - by JaTochNietDan - 12.03.2011, 00:31
Re: Object question - by Tommy_Mandaz - 12.03.2011, 01:33
Re: Object question - by Tommy_Mandaz - 12.03.2011, 04:09
Re: Object question - by Tommy_Mandaz - 12.03.2011, 04:33
Re: Object question - by admantis - 12.03.2011, 04:39
Re: Object question - by Tommy_Mandaz - 12.03.2011, 04:49

Forum Jump:


Users browsing this thread: 4 Guest(s)