04.05.2016, 13:19
Hi everybody there is my problem
Code :
Warning :
Can you help me ?
Code :
Код:
COMMAND:serviceadmin(playerid, params[]) { // Send the command to all admins so they can see it SendAdminText(playerid, "/serviceadmin", params); // Exit the command if the player hasn't logged in using his password if (APlayerData[playerid][LoggedIn] == false) return 0; // Exit the command if the player has an admin-level lower than 1 if (APlayerData[playerid][PlayerLevel] < 1) return 0; new AdminName[24]; GetPlayerName(playerid, AdminName, sizeof(AdminName)); SetPlayerSkin(playerid, 217); // message admin SendClientMessage(playerid,0xFFFFFFFF, "Vous etes passez en admin en service !"); SendClientMessageToAll(0xFFFFFFFF, "L'administrateur %s c'est mis en service", AdminName); return 1; }
Код:
C:\****\****\****\Serveur SAMP\gamemodes\****.pwn(17919) : warning 202: number of arguments does not match definition