Posts: 342
Threads: 88
Joined: Mar 2009
Reputation:
0
Getting Warnings on compile?
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
No. Ive checked over everything, Even got a dialog script and got the dialog show thing of there still nothing,
Ive tried everything i can think of
Posts: 1,593
Threads: 65
Joined: Nov 2008
Reputation:
0
Post your onplayerconnect code.
Posts: 549
Threads: 20
Joined: Jan 2010
Reputation:
0
For me, dialogs works fine everytime... strange
Posts: 2,593
Threads: 34
Joined: Dec 2007
Why U use many arrays for this
Код:
public OnPlayerConnect(playerid)
{
new joinMsg[128], playerName[MAX_PLAYER_NAME]; GetPlayerName(playerid, playerName, sizeof playerName);
format(joinMsg, sizeof joinMsg, " >> <> %s has joined %s <> <<", playerName, GetServerHostName());
SendClientMessageToAll(colorWhite, joinMsg);
format(joinMsg, sizeof joinMsg, " >> <> Welcome %s to %s! <> <<", playerName, GetServerHostName());
SendClientMessageToAll(colorWhite, joinMsg);
format(joinMsg, 35, "/TSMS/%s.ini", playerName);
if(!fexist(joinMsg)) {
format(joinMsg, sizeof joinMsg, "Welcome %s to %s\nPlease register your account on this server", playerName, GetServerHostName());
ShowPlayerDialog(playerid, 1234, DIALOG_STYLE_INPUT, "Register your Account", joinMsg, "Register", "Quit");
}else{
format(joinMsg, sizeof joinMsg, "Welcome %s to %s\nPlease login to your account", playerName, GetServerHostName());
ShowPlayerDialog(playerid, 5678, DIALOG_STYLE_INPUT, "Login to your Account", joinMsg, "Login", "Quit");
}
//ShowPlayerDialog(playerid, 1234, DIALOG_STYLE_INPUT, "Register your Account", "Welcome \nPlease register your account on this server", "Register", "Quit");
return 1;
}
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
ill do it how i want xd anyway still dont work any1 know