19.10.2012, 11:43
I got warnings like this
And this is the code of this issues
Help me please to fix this issues, cause this issues makes Server Crashing.
Код:
J:\Game\Server File\Stregs [cuff sys]\gamemodes\SRC.pwn(57375) : warning 202: number of arguments does not match definition J:\Game\Server File\Stregs [cuff sys]\gamemodes\SRC.pwn(57381) : warning 202: number of arguments does not match definition J:\Game\Server File\Stregs [cuff sys]\gamemodes\SRC.pwn(57381) : warning 202: number of arguments does not match definition J:\Game\Server File\Stregs [cuff sys]\gamemodes\SRC.pwn(57382) : warning 202: number of arguments does not match definition J:\Game\Server File\Stregs [cuff sys]\gamemodes\SRC.pwn(93659) : warning 203: symbol is never used: "Boombox" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Warnings.
Код:
foreach(Player, i) { if(PlayerInfo[i][pPnumber] == phonenumb && phonenumb != 0) { new giveplayerid = i; if(Mobile[giveplayerid] != INVALID_PLAYER_ID) { SendClientMessageEx(playerid, COLOR_GREY, "Jaringan sibuk (sedang nelfon)."); return 1; } Mobile[playerid] = giveplayerid; //caller connecting if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PhoneOnline[giveplayerid] > 0) { SendClientMessageEx(playerid, COLOR_GREY, "Handphone player tersebut dimatikan."); return 1; } if(PlayerInfo[playerid][pPhonePrivacy] == 1) { SendClientMessageEx(giveplayerid, COLOR_GREEN, "___________________________________________________________________________________________________"); SendClientMessageEx(giveplayerid, COLOR_WHITE, "Pesan dari: {FF0000}Nomor dirahasiakan"); SendClientMessageEx(giveplayerid, COLOR_WHITE, "%s", text); SendClientMessageEx(giveplayerid, COLOR_GREEN, "___________________________________________________________________________________________________"); } else { SendClientMessageEx(giveplayerid, COLOR_GREEN, "___________________________________________________________________________________________________"); SendClientMessageEx(giveplayerid, COLOR_WHITE, "Pesan dari: {FFFF00}%d ({FFFF00}%s{FFFFFF})",PlayerInfo[playerid][pPnumber],GetPlayerNameEx(playerid)); SendClientMessageEx(giveplayerid, COLOR_WHITE, "%s", text); SendClientMessageEx(giveplayerid, COLOR_GREEN, "___________________________________________________________________________________________________"); }