[HELP]Object questions[HELP]!!! - 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)
+--- Thread: [HELP]Object questions[HELP]!!! (
/showthread.php?tid=376213)
[HELP]Object questions[HELP]!!! -
Cjgogo - 09.09.2012
How can I know if an object created by me(wich moves), collides /crashes into another object(example:building, player, etc.).Thanks in advance, I really need it.
Re: [HELP]Object questions[HELP]!!! -
Rudy_ - 09.09.2012
The object moves? If yes, then on MoveObject, make a loop checking the object pos and check if there's any other object nearby, to check that simply make a stock (which uses loop and get's all the objects you got's position) and if it's in range of 0.2 or 0.3 etc then do what you want
Re: [HELP]Object questions[HELP]!!! -
Cjgogo - 09.09.2012
Hmm, thanks, yet, I don't really think you understood, I want it so if touches a building(deafultly added in SAMP, it would crash, yet, I'll take a better look at all SAMP functions, maybe RemoveBuildingForPlayer helps, somehow, yet I'd need something more like, IsBuildingInArea :P.