SA-MP Forums Archive
Weapon Name.: - 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: Weapon Name.: (/showthread.php?tid=406421)



Weapon Name.: - JoelR - 10.01.2013

How can I do such a thing?:

If I have a command in my script EG:

/weapon

And I want to do this:

/weapon dese

It will complete the name of Desert Eagle from just that partial text?

Thanks.


Re: Weapon Name.: - Mr.Anonymous - 10.01.2013

Why not make a dialog?


Re: Weapon Name.: - JoelR - 10.01.2013

I don't like dialogs.

I want to make it like:

/weapon store [weapon name].

I have the storage system, just not the weapon name kind of thing.


Re: Weapon Name.: - Mr.Anonymous - 10.01.2013

Well then, I got this filterscript. It gives you vehicles and weapons. ( /w(eap)(on) [weaponname] )

https://sampforum.blast.hk/showthread.php?tid=273791