29.12.2009, 22:39
That's exactly the same as my script, but I don't get errors with this
You are using ban as a integer, use dini_int or strcmp.
pawn Код:
if(dini_Int(File, "Banned") == 1)
{
new Reason[56];
format(Reason, sizeof(Reason), "%s", dini_Get(File, "BanReason"));
SendClientMessage(playerid, 0xFF0000AA, Reason);
Kick(playerid);
}
Quote:
|
Originally Posted by Niixie
but mine is under OnPlayerConnect?
so if under the players ini file is Banned = 1 then a message pops up pawn Код:
|

