if u dont login u get kicked dont work
#5

pawn Code:
new englandcp;
    new russiancp;
    SetPlayerInterior(playerid, 0);
    englandcp = CreateDynamicCP(247.9255,1859.3064,14.0840, 2, -1, -1, -1);
    russiancp = CreateDynamicCP(-340.0471,1543.2358,75.5625, 2, -1, -1, -1);
    new name[MAX_PLAYER_NAME], file[256];
    GetPlayerName(playerid, name, sizeof(name));
    format(file, sizeof(file),"FatAdmin/Users/%s.ini,name");
    if(!dini_Exists(file))
    {
        SendClientMessage(playerid, -1, "You need to login");
        PInfo[playerid][Preg] =1;
        PInfo[playerid][Ploged] =0;
        PInfo[playerid][Banned] =0;
        Kick(playerid);
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
if u dont login u get kicked dont work - by thefatshizms - 17.06.2012, 16:10
Re: if u dont login u get kicked dont work - by ViniBorn - 17.06.2012, 16:11
Re: if u dont login u get kicked dont work - by thefatshizms - 17.06.2012, 16:15
Re: if u dont login u get kicked dont work - by ViniBorn - 17.06.2012, 16:17
Re: if u dont login u get kicked dont work - by thefatshizms - 17.06.2012, 16:29
Re: if u dont login u get kicked dont work - by ViniBorn - 17.06.2012, 16:38
Re: if u dont login u get kicked dont work - by Audi_Quattrix - 17.06.2012, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)