gabyro Posted December 25, 2025 Share Posted December 25, 2025 CMD:ppforall(playerid, params[]) new amount; if(PlayerInfo[playerid][pAdmin] < 6) return SendClientMessage(playerid, -1, "Nu ai acces la aceasta comanda."); if(sscanf(params, "d", amount)) return SendClientMessage(playerid, -1, "Synta: /ppforall <valoare>"); if(amount <= 0) return SendClientMessage(playerid, -1, ); foreach(new i : Player) { PlayerInfo[pPremiumPoints] += amount; new msg[128]; format(msg, sizeof(msg), "* Administratorul {F03636}%s{FFFFFF} ti-a dat %s Premium Points ca bonus!", amount); SendClientMessage(i, 0x00FF00FF, msg); } return 1; } Link to comment https://easy-code.ro/topic/1691-e-bun-sistemu-asta-de-de-ppforall-pe-cmd/ Share on other sites More sharing options...
andreilordrealu Posted January 22 Share Posted January 22 rupe Link to comment https://easy-code.ro/topic/1691-e-bun-sistemu-asta-de-de-ppforall-pe-cmd/#findComment-17275 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now