1 Command for 2 Functions? - 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: 1 Command for 2 Functions? (
/showthread.php?tid=132232)
1 Command for 2 Functions? -
lmfaoown - 06.03.2010
Ok, I'm trying to make a 'weapon cache' for my server, it's when you go near it you /search it, but first, how can I make an object, and how can I make the /search object work for multiple /search spots, because I'm making a food store, where you /search for food, and a weapon cache where you /search for guns? And also how can I make it that if its 'near' the weapon cache, not directly ontop/at it, like 5 feet away, it searches for food, or weapons at the food store, or weapon cache, reply back please
Re: 1 Command for 2 Functions? -
Finn - 06.03.2010
CreateObject
IsPlayerInRangeOfPoint