Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:oduzminovac(playerid, params[]) {
- new kolicina;
- if(sscanf(params, "i", kolicina)) return SendClientMessage(playerid, -1, "/oduzminovac (kolicina)");
- for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++)
- {
- if(IsPlayerConnected(i))
- {
- if(kolicina < 1) GivePlayerMoney(i, -kolicina)
- else GivePlayerMoney(i, kolicina)
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment