11.12.2013, 17:53
(
Последний раз редактировалось kristo; 16.12.2013 в 11:51.
)
Yesterday I noticed that streamer objects had two natives that the regular objects didn't. What a discrimination! I decided to create a small include that adds two new functions:
It was simple for me to create but I decided to release it as it might be useful for someone.
Download: http://pastebin.com/jicmLEQ7
A (totally useless) test script:
Enjoy!
PHP код:
CountObjects();
DestroyAllObjects();
Download: http://pastebin.com/jicmLEQ7
A (totally useless) test script:
PHP код:
#include <a_samp>
#include <exobjects>
main() {}
public OnGameModeInit()
{
for (new i; i < 5; i++)
{
CreateObject(1215, 0, 0, 0, 0, 0, 0);
printf("%i", CountObjects());
}
DestroyAllObjects();
printf("%i", CountObjects());
return 1;
}