07.01.2011, 18:15
Okay, since there has been awhile since I've been using dini, I've been asking alot of questions here. So another one:
This is under OnPlayerConnect
I got my file formatted too in OnPlayerConnect
This is under OnPlayerConnect
pawn Код:
if(dini_Get(file,"Banned") == 1)
{
new stringb[128];
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
SendClientMessage(playerid, ORANGE, "You are banned from this server, go and ban appeal at sitecensored");
format(stringb, 128, "[SERVER KICK] %s has been kicked from the server || Reason: Name banned from this server");
SendClientMessageToAll(GREY, stringb);
}
Код:
C:\DOCUME~1\notgonnashowu\Desktop\notgonnashowu\notgonnashowu\notgonnashowu\notgonnashowu.pwn(209) : error 033: array must be indexed (variable "dini_Get") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.