15.07.2009, 14:23
Here is the full script where the 4 errors comes from.
It dont want the line
to be there, the full script goes nuts if I keep new connect[128]; there
Код:
public OnPlayerConnect(playerid) { new playrname[MAX_PLAYER_NAME]; new connect[128]; GetPlayerName(playerid, playrname, sizeof(playrname)); format(connect, sizeof(connect), "%s.ini", playrname); if(fexist(connect)) { gPlayerAccount[playerid] = 1; SendClientMessage(playerid, COLOR_YELLOW, "You are registered, please login with /login password"); return 1; } else { gPlayerAccount[playerid] = 0; SendClientMessage(playerid, COLOR_YELLOW, "You are new here or not registered, please register with /register password"); } return 1; }
Код:
new connect[128];