17.06.2012, 16:29
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;
}