- 0
Problema setallscore
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
HaiCuMine
Cand dau /setallscore nu se pune scoru
Comanda:
[pawn]dcmd_setallscore(playerid,params[]) {
if(PlayerInfo[playerid][Level] >= 12) {
if(!strlen(params)) return SendClientMessage(playerid, red, "USAGE: /setallscore [score]");
new var = strval(params), string[128];
CMDMessageToAdmins(playerid,"SETALLSCORE");
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
PlayerPlaySound(i,1057,0.0,0.0,0.0);
SetPlayerScore(i,var);
}
}
format(string,sizeof(string),"{0049FF}Owner {F81414}%s {FFFFFF}has set all players scores to {6EF83C}%d", pName(playerid), var );
return SendClientMessageToAll(blue, string);
} else return SendClientMessage(playerid,red,"{F81414}ERROR:{FFFFFF} You are not a high enough level to use this command");
}[/pawn]
rgs.exiled.ro:7777
0 answers to this question
Recommended Posts