01.08.2013, 14:27
Hi,
This issue is still happening. I'm trying to get some help. Whenever I join or anyone joins the server it crashes and reloops on restarting whenever they have underscores in their name. Here's the OnPlayerConnect code
and when I connect the printf's show these numbers...
Can anyone help me with this issue?
This issue is still happening. I'm trying to get some help. Whenever I join or anyone joins the server it crashes and reloops on restarting whenever they have underscores in their name. Here's the OnPlayerConnect code
Код:
[public OnPlayerConnect(playerid) { print("1"); new gmtext[256]; if(IsPlayerNPC(playerid)) return 1; F_OnPlayerConnect(playerid); print("2"); PlayerInfo[playerid][CKed] = 0; PlayerInfo[playerid][CKed] = (dUserINT(ReturnPlayerName(playerid)).("CKed")); print("3"); if(PlayerInfo[playerid][CKed] >= 1) { print("4"); SendClientMessage(playerid, COLOR_RED, "Aegis Quality Control Notice"); SendClientMessage(playerid, COLOR_RED, "This name is flagged as CK'd [Character Killed]"); SendClientMessage(playerid, COLOR_RED, "Please create a new character by choosing a new name and registering, thank you."); PlayerInfo[playerid][TimeX] = 0; //Kick(playerid); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Name Change", "Incorrect Name, please retry.\nExample: John_Smith or Jane_Smith", "Accept", "Cancel"); return 1; }
Код:
[12:25:50] Incoming connection: 71.86.92.193:49465 [12:25:50] [join] Dwan_Hawkins has joined the server (0:71.86.92.193) [12:25:50] 1 [12:25:50] 2 [12:25:50] 3