Posts: 203
Threads: 14
Joined: Jul 2012
Quote:
Originally Posted by -Prodigy-
pawn Код:
CMD:refund(playerid, params[]) { if(isnull(params)) return SendClientMessage(playerid, -1, "Usage: /Refund < Amount >");
new amount = strval(params);
for(new i = 0; i < MAX_PLAYERS; i++) { if(!IsPlayerConnected(i) || GetPlayerScore(i) > 1000) continue;
SetPlayerScore(i, GetPlayerScore(i) + 1000); // Give players with less than 1000 score 1000 score } return 1; }
|
ty repped.