30.10.2009, 12:13
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
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; } } } |