How do I do a command on all people?
Ive only just started amxx coding again and am a little rusty.
In a plugin I have a concmd which when Runs I want ALL players on ONE team to have their weapons removed. How do I get it to effect all players? |
Re: How do I do a command on all people?
help anyone?
|
Re: How do I do a command on all people?
Like - I need to filter through all the players - find which are marines - and then remove all weapons - then pick one by random and give him a weapon.
|
Re: How do I do a command on all people?
to effect all on server:
Code:
|
Re: How do I do a command on all people?
Or more team specific
Code:
|
Re: How do I do a command on all people?
Quote:
|
Re: How do I do a command on all people?
Thanks ALOT guys this has really helped
can someone please explain "for(new i=0;i<=get_maxplayers();i++)" please |
Re: How do I do a command on all people?
Quote:
|
Re: How do I do a command on all people?
Now i need to set it so it randomly picks a player from team 1.
how cud i accomplish this? |
Re: How do I do a command on all people?
I get an error saying my function should return a value :x
help anyone :x |
| All times are GMT -4. The time now is 04:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.