09.11.2012, 17:12
This is an example on how to do it with an variable
pawn Код:
new robbing[MAX_PLAYERS];
forward robc();
public robc()
{
foreach(Player, i)
{
if(robbing[i] = 1)
{
GivePlayerMoney(i,9000);
}
}
return 1;
}