SA-MP Forums Archive
No idea... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: No idea... (/showthread.php?tid=177600)



No idea... - DRIFT_HUNTER - 18.09.2010

Ok i started mapping system long time ago (when i didnt have any skills) and its FAILED
Now i started it again and i dont have idea how to check for map objects

Like when i load map's from some file's and after that how i can detect map objects later?

For example i load two maps

test and test2

And then i want to unload map test (i must destroy objects)
How i can track these objects?


Re: No idea... - Mike_Peterson - 18.09.2010

hmm

at other variables
Код:
new test1,test2;
Код:
test1 = CreateObject(......
test2 = CreateObject(......
Код:
DestroyObject(test1);
DestroyObject(test2);
for more objects theres some other thing u can use.. dont know it atm


Re: No idea... - DRIFT_HUNTER - 18.09.2010

I know that....
Problem is im loading objects from files (with command /loadmap NAME PASSWORD)
So i need to detect what objects is from witch map....