[HELP] Fix Error 017: Undefined Sysmbol"string"
#7

Quote:
Originally Posted by Eth
Посмотреть сообщение
edit new string[1050]; to new string[256]; if it didn't work try this:
Код:
new playerIP[32];
GetPlayerIp(playerid,playerIP,sizeof(playerIP));
if (CheckBan(playerIP) == 1)
{
new string[256];
format(string,sizeof(string),"Akun atau IP anda telah di banned!\n\nAccount: %s\nIP: %s\nDi banned oleh: %s \nAlasan: %s \nPada Waktu: %s | Tanggal: %s\n\nSihlakan Post forum bagian unban request",GetPlayerNameEx(playerid),playerIP,PlayerInfo[playerid][pAdminban],PlayerInfo[playerid][pBanReason],PlayerInfo[playerid][pBanExpired],PlayerInfo[playerid][pBanExpired2]);
ShowPlayerDialog(playerid,12,DIALOG_STYLE_ MSGBOX,"BANNED",string,"OK","");
print(string);
// place kick in dialo g responce
Kick(playerid);
return 1;
}
theres an string more than 512 characters !
so ...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)