01.02.2012, 13:27
i made this please fix it
Код:
//-------------------------------[LevelUp]-------------------------------------------------------------------------- if (strcmp(cmd, "/levelupall", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 1337) { if (gPlayerLogged[playerid] != 0) { for(new i=0; i < MAX_PLAYERS; i++) { //level up function, example: LevelUp(i); //this will level up all players in server, which are "marked" with "i" }