Modify a Login System help
#1

New to scripting and still learning. Can you please tell me where are the wrongs in this script ?
I really have to fix it to add to the server soon

Quote:

public OnPlayerRequestSpawn(playerid)
{
if gPlayerAccount[playerid] = 1;
{
SendClientMessage(playerid,COLOR_GREEN,"Please /login *Password*");
return 0;
}
else
{
SendClientMessage(playerid,COLOR_GREEN,"Please /register *Password*");
return 0;
}
{
if (gPlayerLogged[playerid] != 0)
{
return 1;
}
}
}

Reply


Messages In This Thread
Modify a Login System help - by DArgo2006 - 30.10.2009, 12:13
Re: Modify a Login System help - by Finn - 30.10.2009, 13:27

Forum Jump:


Users browsing this thread: 1 Guest(s)