dcmd_admins( playerid, params[ ] ) return dcmd_staff( playerid, params );
dcmd_staff(playerid, params[]) { new AW; sscanf(params, "''", AW); // ANTI WARNING SendClientMessage(playerid, INFO, "Staff Connected : "); for(new i = 0; i < MAX_PLAYERS; i++) { if(pData[i][modeStaff] = 1) { format(string[0], 50, "[%s] %s (%d)", pData[i][rang], pData[i][pseudo], i); SendClientMessage(playerid, INFO, string[0]); } } return 1; } dcmd_admins(playerid, params[]) return dcmd_staff(playerid, params[]);
dcmd_admins(playerid, params[]) return dcmd_staff(playerid, params[]);
Код:
dcmd_staff(playerid, params[]) { new AW; sscanf(params, "''", AW); // ANTI WARNING SendClientMessage(playerid, INFO, "Staff Connected : "); for(new i = 0; i < MAX_PLAYERS; i++) { if(pData[i][modeStaff] = 1) { format(string[0], 50, "[%s] %s (%d)", pData[i][rang], pData[i][pseudo], i); SendClientMessage(playerid, INFO, string[0]); } } return 1; } dcmd_admins(playerid, params[]) return dcmd_staff(playerid, params[]); For this line : Код:
dcmd_admins(playerid, params[]) return dcmd_staff(playerid, params[]); |
dcmd_admins(playerid, params[]) return dcmd_staff(playerid, params);