minigun war
#6

Quote:
Originally Posted by omer5198
Посмотреть сообщение
i did the first part... but i dont know how to create a loop for all players...
inmini[i]?
for(new i = 0; i < MAX_PLAYERS; i++) <- Loop through all the players (500). If you have less players, you should add this to your script:
pawn Код:
#define MAX_PLAYERS 0xF
Change 0xF to the max players of your server (this is for faster loops, less blabla usage, faster amx compiling, less filesize of the .amx). Try to compile a big gamemode, look at the .amx, change the MAX_PLAYERS to something lower, compile it again and see the second filesize.
However, previous post editted.
Reply


Messages In This Thread
minigun war - by omer5198 - 11.03.2011, 18:30
Re: minigun war - by xir - 11.03.2011, 18:37
Re: minigun war - by omer5198 - 11.03.2011, 18:56
Re: minigun war - by Kwarde - 11.03.2011, 18:57
Re: minigun war - by omer5198 - 11.03.2011, 19:01
Re: minigun war - by Kwarde - 11.03.2011, 19:06
Re: minigun war - by omer5198 - 11.03.2011, 19:07
Re: minigun war - by Kwarde - 11.03.2011, 19:12
Re: minigun war - by omer5198 - 11.03.2011, 19:17
Re: minigun war - by Kwarde - 11.03.2011, 19:19

Forum Jump:


Users browsing this thread: 1 Guest(s)