09.06.2016, 17:26
hi guys i have a script with YSI but it's not working can you help me ?
thank for the help
PHP код:
public OnPlayerConnect(playerid)
{
// connexion message
new name[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s has joined The Aviation Life.", name);
SendClientMessageToAll(COULEUR_BLEUCLAIR, string);
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COULEUR_BLANC"Login",""COULEUR_BLANC"Type your password below to login.","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COULEUR_BLANC"Registering...",""COULEUR_BLANC"Type your password below to register a new account.","Register","Quit");
}
return 1;
}
PHP код:
C:\Users\Dell pc\Desktop\Life of Flying 0.3x\gamemodes\Main.pwn(108) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Dell pc\Desktop\Life of Flying 0.3x\gamemodes\Main.pwn(108) : warning 215: expression has no effect
C:\Users\Dell pc\Desktop\Life of Flying 0.3x\gamemodes\Main.pwn(108) : error 001: expected token: ";", but found "-string-"
C:\Users\Dell pc\Desktop\Life of Flying 0.3x\gamemodes\Main.pwn(108) : warning 215: expression has no effect
C:\Users\Dell pc\Desktop\Life of Flying 0.3x\gamemodes\Main.pwn(108) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Dell pc\Desktop\Life of Flying 0.3x\gamemodes\Main.pwn(108) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.