19.05.2010, 14:28
Quote:
Originally Posted by d3adpain
CAN U GIVE ME NAME OF SCRIPT OR ADMIN MODE
THAT THERE IS IT INSIDE THAT ? |
You could have a look at mine one
Ore search for some registration scripts like ERROR'S one ore you could search for ADMIN scripts like
Vadmin , Ladmin MANY MOERE+++
AND FOR THE
Quote:
Originally Posted by d3adpain
when some connect 2 the game
that will check if he register and if he not 2 tell em 2 register for spawn |
First on top of u'r scrits
pawn Код:
new file[128], string[128];
new name[MAX_PLAYER_NAME];
Under public OnPlayerSpawn(playerid) ore whetever you like
pawn Код:
GetPlayerName(playerid, name, sizeof(name));
format(file,sizeof(file),"/FOLDER/%s.ini",name);
if(!fexist(file))
{
SendClientMessage(playerid, COLOR_RED, "Please use/register [password] before you spawn");
IsLogged[playerid] = 0;
}
if(fexist(file))
{
SendClientMessage(playerid, COLOR_GREEN, "You have an account Please use /login [password]");
}
I HAVENT TESTED THE SCRIPT BECOUSE I AM NOT AT HOME