Max Players
#1

hey guys....

when admin make moneybag it be

moneybag[playerid]=1;

when player find it it must make the admin moneybag=0; but how?

the problem that playerid when player find it = the player who found it and i want to make for all players that have moneybag[playerid]=1; to be moneybag ===== 00000

when i make

moneybag[MAX_PLAYERS]=0; it give me error
how to make to set all players moneybag to 0?
Reply
#2

For cycle.
for(new i=0;i<MAX_PLAYERS;i++) moneybag[i]=false;
Reply
#3

Quote:
Originally Posted by Mmartin
Посмотреть сообщение
For cycle.
for(new i=0;i<MAX_PLAYERS;i++) moneybag[i]=false;
thxx boss, how did that didnt come to my mind lol, <3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)