30.05.2012, 08:32
hmm try somthing like this
just edit it for yourself
pawn Код:
for(new i = 0; i <= MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && GetPlayerTeam(i) == teamid)//Notice the (i) instead of [i]
{
GivePlayerMoney(i,amount);//Replace "amount" with the amount of money you want to reward each team member with
}
return 1;
}
}
