SA-MP Forums Archive
Compiler stop responding! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Compiler stop responding! (/showthread.php?tid=444401)



Compiler stop responding! - Anak - 16.06.2013

hello guys

my compiler stop responding after i have added this to FS

pawn Код:
#define info_text "{FFFFFF}* Account information for nick '{00FF00}%s{FFFFFF}' are following:\n\n1). Account Password: {FF0000}Not Available (Disabled By Staff){FFFFFF}\n2). Admin Level: '{00FF00}%d{FFFFFF}'\n3). Vip Level: '{00FF00}%d{FFFFFF}'"
#define info_text1 "\n4). Money: '{00FF00}$%d{FFFFFF}'\n5). Score: '{00FF00}%d{FFFFFF}'\n6). Kills: '{00FF00}%d{FFFFFF}'\n7). Death: '{00FF00}%d{FFFFFF}'"


//

new string[340], pname[MAX_PLAYER_NAME];
                GetPlayerName(playerid, pname, sizeof(pname));
                format(string, sizeof(string), ""info_text""info_text1"", pname , pInfo[playerid][Adminlevel], pInfo[playerid][VIPlevel], pInfo[playerid][Money], pInfo[playerid][Scores], pInfo[playerid][Kills], pInfo[playerid][Deaths]);
                ShowPlayerDialog(playerid, account_info, DIALOG_STYLE_MSGBOX, "{00FF00}Account Info", string,"Close","");



Re: Compiler stop responding! - Mattakil - 16.06.2013

does it to me all the time, just wait and itll respond


Re: Compiler stop responding! - Anak - 16.06.2013

nope i have waited for 30 minutes but it still dont respond


Re: Compiler stop responding! - Anak - 17.06.2013

Bump any help?


Re: Compiler stop responding! - Pottus - 17.06.2013

""info_text""info_text1""

format(string, sizeof(string), ""info_text""info_text1"", pname , pInfo[playerid][Adminlevel], pInfo[playerid][VIPlevel], pInfo[playerid][Money], pInfo[playerid][Scores], pInfo[playerid][Kills], pInfo[playerid][Deaths]);

Should be

format(string, sizeof(string), info_text info_text1, pname , pInfo[playerid][Adminlevel], pInfo[playerid][VIPlevel], pInfo[playerid][Money], pInfo[playerid][Scores], pInfo[playerid][Kills], pInfo[playerid][Deaths]);


Re: Compiler stop responding! - Anak - 17.06.2013

fixed :EDIT: