01.04.2016, 16:51
I got this errors:
C:\Users\Computer\Desktop\New folder\gamemodes\WGRP.pwn(143) : error 001: expected token: ",", but found ";"
C:\Users\Computer\Desktop\New folder\gamemodes\WGRP.pwn(143) : error 036: empty statement
C:\Users\Computer\Desktop\New folder\gamemodes\WGRP.pwn(143) : warning 215: expression has no effect
C:\Users\Computer\Desktop\New folder\gamemodes\WGRP.pwn(143) : error 001: expected token: ";", but found ")"
C:\Users\Computer\Desktop\New folder\gamemodes\WGRP.pwn(143) : fatal error 107: too many error messages on one line
on this script part:
public OnPlayerConnect(playerid)
{
if (fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE" Type your password below to login.","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""C OL_WHITE"Type your password below to register a new account.","Register","Quit");
}
return 1;
}
Its not my code tho. So i got so tired of that error, i tried to find a way to make it work but nothing makes it work.
Thanks for help!
C:\Users\Computer\Desktop\New folder\gamemodes\WGRP.pwn(143) : error 001: expected token: ",", but found ";"
C:\Users\Computer\Desktop\New folder\gamemodes\WGRP.pwn(143) : error 036: empty statement
C:\Users\Computer\Desktop\New folder\gamemodes\WGRP.pwn(143) : warning 215: expression has no effect
C:\Users\Computer\Desktop\New folder\gamemodes\WGRP.pwn(143) : error 001: expected token: ";", but found ")"
C:\Users\Computer\Desktop\New folder\gamemodes\WGRP.pwn(143) : fatal error 107: too many error messages on one line
on this script part:
public OnPlayerConnect(playerid)
{
if (fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE" Type your password below to login.","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""C OL_WHITE"Type your password below to register a new account.","Register","Quit");
}
return 1;
}
Its not my code tho. So i got so tired of that error, i tried to find a way to make it work but nothing makes it work.
Thanks for help!