Errors in a line...
#1

the following are the lines n*999-1010
pawn Code:
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"You are already registered, write your chosen password to log in! ","Login","Quit");
    }
    else {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Welcome to Carson City Roleplay, Our database tell us your new here, chose your password to register!","Register","Quit");
        }
    if(!IsRolePlayName(playerid)) {
        SendClientMessage(playerid, COLOR_CRIMSON, "[NORTON DEFENDER] - [KICKED]: Please come back and use a roleplay name. (Example: Jacob_Smith)");
        Kick(playerid);
   return 1;
   }
errors:

Quote:

C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(129) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(970) : warning 213: tag mismatch
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1006 ) : error 017: undefined symbol "IsRolePlayName"
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1102 ) : error 017: undefined symbol "strreplace"
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1105 ) : error 012: invalid function call, not a valid address
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1105 ) : warning 215: expression has no effect
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1105 ) : warning 215: expression has no effect
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1105 ) : warning 215: expression has no effect
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1105 ) : warning 215: expression has no effect
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1105 ) : warning 215: expression has no effect
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1105 ) : warning 215: expression has no effect
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1105 ) : warning 215: expression has no effect
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1105 ) : warning 215: expression has no effect
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1105 ) : error 001: expected token: ";", but found ")"
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1105 ) : error 029: invalid expression, assumed zero
C:\Users\Luca\Desktop\FCRP\gamemodes\base.pwn(1105 ) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


7 Errors.

+REP!
Reply
#2

pawn Code:
if(fexist(UserPath(playerid))) {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"{FFFFFF}Login","{FFFFFF}You are already registered, write your chosen password to log in!","Login","Quit");
    }
    else {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"{FFFFFF}Registering...","{FFFFFF}Welcome to Carson City Roleplay, Our database tells us you're new here, chose your password to register!","Register","Quit");
        }
    if(!IsRolePlayName(playerid)) {
        SendClientMessage(playerid, COLOR_CRIMSON, "[NORTON DEFENDER] - [KICKED]: Please come back and use a roleplay name. (Example: Jacob_Smith)");
        Kick(playerid);
   return 1;
   }
This should fix a few of the errors, but you haven't defined IsRolePlayName... just compile and post what errors you get.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)