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

You can use a ******'s include from YSI called y_va just on top of script put
Код:
#include <YSI\y_va>
and with other stock's put this:
Код:
stock va_ShowPlayerDialog(playerid, dialogid, style, caption[], const info[], button1[], button2[], va_args<>)
{
	new fmat[800];
	va_format(fmat, sizeof(fmat), info, va_start<7>);
	return ShowPlayerDialog(playerid, dialogid, style, caption, fmat, button1, button2);
}
and your code is:

Код:
new playerIP[32];
GetPlayerIp(playerid,playerIP,sizeof(playerIP));
if (CheckBan(playerIP) == 1)
{
va_ShowPlayerDialog(playerid,12,DIALOG_STYLE_MSGBOX,"BANNED","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","OK","", GetPlayerNameEx(playerid),playerIP,PlayerInfo[playerid][pAdminban],PlayerInfo[playerid][pBanReason],PlayerInfo[playerid][pBanExpired],PlayerInfo[playerid][pBanExpired2]);
// place kick in dialo g responce
Kick(playerid);
return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)