new string[128];
format(string, sizeof(string), "Score: %i",GetPlayerScore(playerid));
new name[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "Name: %s", name);
new string[48];
format(string, sizeof(string), "Wealth: $%i", GetPlayerMoney(playerid));
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Notice","%s\n%i\n$%i","Close","");
C:\Users\Maki\Desktop\server 0.3d\filterscripts\TwinkisFS.pwn(480) : error 021: symbol already defined: "string"
C:\Users\Maki\Desktop\server 0.3d\filterscripts\TwinkisFS.pwn(484) : error 021: symbol already defined: "string"
new name[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "Score: %i\nName: %s\nWealth: $%i", GetPlayerScore(playerid), name, GetPlayerMoney(playerid));
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Notice",string,"Close","");
Why it's not going to work? That ShowPlayerDialog?
Edit: still getting the errors tho. |