06.11.2016, 18:01
Код:
./includes/NGG-Script.pwn(96712) : error 017: undefined symbol "ClearChatbox" ./includes/NGG-Script.pwn(102784) : error 017: undefined symbol "ClearChatbox" ./includes/NGG-Script.pwn(103105) : warning 219: local variable "type" shadows a variable at a preceding level ./includes/NGG-Script.pwn(107591) : error 017: undefined symbol "ClearChatbox" ./includes/NGG-Script.pwn(115473) : warning 225: unreachable code ./includes/NGG-Script.pwn(123520) : error 017: undefined symbol "ClearChatbox" ./includes/NGG-Script.pwn(123606) : error 017: undefined symbol "ClearChatbox"
Code 1 :
Код:
else { format(szString, sizeof(szString), "[Referral] (New Account: %s (IP:%s)) da duoc gioi thieu boi (Nguoi choi: %s (IP:%s))", GetPlayerNameEx(playerid), currentIP, PlayerInfo[playerid][pReferredBy], newresult); Log("logs/referral.log", szString); mysql_free_result(MainPipeline); RegistrationStep[playerid] = 3; SetPlayerVirtualWorld(playerid, 0); ClearChatbox(playerid); TutStep[playerid] = 24; TextDrawShowForPlayer(playerid, txtNationSelHelper); TextDrawShowForPlayer(playerid, txtNationSelMain); PlayerNationSelection[playerid] = -1; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); Streamer_UpdateEx(playerid,1716.1129,-1880.0715,22.0264); SetPlayerPos(playerid,1716.1129,-1880.0715,-10.0); SetPlayerCameraPos(playerid,1755.0413,-1824.8710,20.2100); SetPlayerCameraLookAt(playerid,1716.1129,-1880.0715,22.0264);
Код:
// SetPlayerJoinCamera(playerid); ClearChatbox(playerid); SetPlayerVirtualWorld(playerid, 0);
Код:
// Crash Bug Fix if(strfind(inputtext, "%", true) != -1) { SendClientMessageEx(playerid, COLOR_GREY, "Nhan vat khong hop le, vui long thu lai."); return 1; } if(dialogid == DIALOG_HUONGDAN) { if(response) { ClearChatbox(playerid); TutorijalTimer[playerid] = SetTimerEx("Tutorijal", 400, 0, "ii", playerid, 1); } else { SendClientMessageEx(playerid, COLOR_WHITE, "(NGG:RP) Ban khong nhan duoc $50.000 vi khong xem qua huong dan"); } return 1; }