Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

ColAndreas dynamic objects

$
0
0
How do I properly create and destroy ColAndreas dynamic objects with assigned IDs?

PHP Code:

// top of the gamemode
new Object[500];

// somewhere else in the code
Object[0] = CA_CreateDynamicObject_DC(blah blah); // DOESN'T WORK FOR ME (NO OBJECT)
CA_CreateDynamicObject_DC(blah blah); // WORKS, BUT I NEED AN ID ASSIGNED

// what function should I use to destroy those objects?
CA_DestroyObject_DC(Object[0]); // will this work? there's no 'Dynamic' in its name 


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>