27.11.2015, 17:36
EDIT : Now i get this 1 warning .
Quote:
4745) : warning 202: number of arguments does not match definition |
Quote:
// This function sends the report to all admins AdminIstekSarkiBilgisi(playerid, Sarki[]) { // Check if this player is an admin if (APlayerData[playerid][PlayerLevel] > 0 || Root[playerid] == 1) { // Construct the report messages for a normal report SendClientMessage(playerid, -1, "{E33ADD}Istek Sarki:{ff0000} %s", Sarki); //4745 Error line } } |
Quote:
// Istek komutu kardo COMMAND:isteksarki(playerid, params[]) { // Setup local variables new Sarki[255]; // Send the command to all admins so they can see it SendAdminText(playerid, "/isteksarki", params); // Check if the player has logged in if (APlayerData[playerid][LoggedIn] == true) { if (sscanf(params, "us[128]", Sarki)) SendClientMessage(playerid, 0xFF0000AA, "Kullanis: \"/isteksarki <isim>\""); else { // Send the report to all admins and add the report to the report-list so admins can review it AdminIstekSarkiBilgisi( Sarki); // Error line 22819 // Let the player know he send the request SendClientMessage(playerid, -1, "{ffff00}Юarkэ Isteрiniz : {00FF00}%s", Sarki); } } else return 0; // Let the server know that this was a valid command return 1; } |