Help limiting to once per map
Hey i am writing a plugin for my server which enables server regulars to say "freegun ak" or "freegun m4" once per map to recieve the cooresponding weapon. I have edited a plugin that allows them to say "freegun XX" but i need help limiting it to only one use per map. Here is my code so far:
Code:
I have a very limited knowlege of the small language so any help is greatly appreciated. Thanks in advance, MOBOB |
Why 3 times?
Code:
|
To give more ammo.
Alternative: Code:
|
Code:
I put the Quote:
|
ok thanks, the limiting works fine, however i made some changes and i am having some problems. Here is the code...
Code:
I was hoping for it to allow those with access to say freegun_ak or freegun_m4 and recieve their weapon. Saying freegun_m4 works fine but when i say freegun_ak, it gives me a colt. Is there a way to fix this? |
Code:
change the 2 to 10 same goes for the m4 string. |
ok thanks that works, you can now get the ak47. Thanks alot
|
| All times are GMT -4. The time now is 15:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.