27.04.2014, 07:58
Код:
new playerIP[16]; GetPlayerIp(playerid, playerIP, sizeof(playerIP)); if (CheckBan(playerIP) == 1) { 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),PlayerInfo[playerid][pIP],PlayerInfo[playerid][pAdminban],PlayerInfo[playerid][pBanReason],PlayerInfo[playerid][pBanExpired],PlayerInfo[playerid][pBanExpired2]); ShowPlayerDialog(playerid,BAN_DIALOG,DIALOG_STYLE_MSGBOX,"BANNED",string,"OK",""); //SetPlayerName(playerid, "BannedPlayer"); //Kick(playerid); return 1; }
i added CMD /ban , error detect.
please help me for this problem?
Код:
G:\FOLDER~1\gta\GAMEMO~1\RP.pwn(814) : warning 203: symbol is never used: "modelindex" G:\FOLDER~1\gta\GAMEMO~1\RP.pwn(4248) : warning 204: symbol is assigned a value that is never used: "string" G:\FOLDER~1\gta\GAMEMO~1\RP.pwn(4333) : warning 203: symbol is never used: "seek" G:\FOLDER~1\gta\GAMEMO~1\RP.pwn(4363) : warning 203: symbol is never used: "seek" G:\FOLDER~1\gta\GAMEMO~1\RP.pwn(8925) : error 017: undefined symbol "string" G:\FOLDER~1\gta\GAMEMO~1\RP.pwn(8925) : error 017: undefined symbol "string" G:\FOLDER~1\gta\GAMEMO~1\RP.pwn(8925) : error 029: invalid expression, assumed zero G:\FOLDER~1\gta\GAMEMO~1\RP.pwn(8925) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.