17.09.2012, 16:50
Quote:
You can choose a random Iter from foreach, using:
pawn Код:
|
PHP код:
#include <a_samp>
#include <ZCMD>
#include <foreach>
CMD:randomgivemoney(playerid,params[])
{
Iter_Random(Player);
GivePlayerMoney(Player,5000);
return 1;
}
EDIT:The other 2 guys, I said clearly: I am using Foreach.Simple loops is looping through offline players.