29.12.2009, 22:29
but mine is under OnPlayerConnect?
so if under the players ini file is Banned = 1 then a message pops up
so if under the players ini file is Banned = 1 then a message pops up
pawn Код:
if(fexist(file))
{
new ban[255];
format(ban, sizeof(ban), "", dini_Get(file, "banned"));
format(
if(ban == 1)
{
SendClientMessage(playerid, COLOR_RED, "| You're banned from the server! |");
}
else
{
//Blablabla
}
}