SA-MP Forums Archive
[SOLVED]Gunshop 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [SOLVED]Gunshop Help (/showthread.php?tid=129897)



[SOLVED]Gunshop Help - Thomas_Ahmey - 24.02.2010

Under /buygun I tryied to add some locations for gunshop,but there is one thing I dont understand.What does this stand for.I mean shoulnt be there some cords or smth?

pawn Код:
if(location == 99 || location == 100 || location == 102)
plz dont answer learn Pawn etc I read documents realates to Pawno..The only thing I didnt get reading this is that.
Thanks in advance!

P.S I know I had to post it in the GF section but I thought it would be good here to beacause I think none except n00bs like me view those topics!


Re: Gunshop Help - Razvann - 24.02.2010

Quote:
Originally Posted by Thomas_Ahmey
Under /buygun I tryied to add some locations for gunshop,but there is one thing I dont understand.What does this stand for.I mean shoulnt be there some cords or smth?

pawn Код:
if(location == 99 || location == 100 || location == 102)
plz dont answer learn Pawn etc I read documents realates to Pawno..The only thing I didnt get reading this is that.
Thanks in advance!

P.S I know I had to post it in the GF section but I thought it would be good here to beacause I think none except n00bs like me view those topics!
Go into the game, type /stats into the gunshop and look at Local, that ID should be at locations like this:
pawn Код:
if(location == 99 || location == 100 || location == 102 || location == yourlocal)



Re: Gunshop Help - Thomas_Ahmey - 24.02.2010

Quote:
Originally Posted by Razvann
Quote:
Originally Posted by Thomas_Ahmey
Under /buygun I tryied to add some locations for gunshop,but there is one thing I dont understand.What does this stand for.I mean shoulnt be there some cords or smth?

pawn Код:
if(location == 99 || location == 100 || location == 102)
plz dont answer learn Pawn etc I read documents realates to Pawno..The only thing I didnt get reading this is that.
Thanks in advance!

P.S I know I had to post it in the GF section but I thought it would be good here to beacause I think none except n00bs like me view those topics!
Go into the game, type /stats into the gunshop and look at Local, that ID should be at locations like this:
pawn Код:
if(location == 99 || location == 100 || location == 102 || location == yourlocal)
Yep thanks for the help!