Errors on Compile!!
#1

PHP код:
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2338) : error 017undefined symbol "udb_Exists"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2344) : error 017undefined symbol "udb_Exists"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2382) : error 017undefined symbol "dUserSetINT"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2382) : error 029invalid expressionassumed zero
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2382) : warning 215expression has no effect
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2383) : error 017undefined symbol "dUserSetINT"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2383) : error 029invalid expressionassumed zero
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2384) : error 017undefined symbol "dUserSetINT"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2384) : error 029invalid expressionassumed zero
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2385) : error 017undefined symbol "dUserSetINT"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2385) : error 029invalid expressionassumed zero
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2385) : warning 215expression has no effect
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2386) : error 017undefined symbol "dUserSetINT"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2386) : error 029invalid expressionassumed zero
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2386) : warning 215expression has no effect
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2387) : error 017undefined symbol "dUserSetINT"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2387) : error 029invalid expressionassumed zero
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2387) : warning 215expression has no effect
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2388) : error 017undefined symbol "dUserSetINT"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2388) : error 029invalid expressionassumed zero
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2388) : warning 215expression has no effect
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2389) : error 017undefined symbol "dUserSetINT"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2389) : error 029invalid expressionassumed zero
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2389) : warning 215expression has no effect
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2390) : error 017undefined symbol "dUserSetINT"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2390) : error 029invalid expressionassumed zero
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2390) : warning 215expression has no effect
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2391) : error 017undefined symbol "dUserSetINT"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2391) : error 029invalid expressionassumed zero
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2391) : warning 215expression has no effect
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2392) : error 017undefined symbol "dUserSetINT"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2392) : error 029invalid expressionassumed zero
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2392) : warning 215expression has no effect
C
:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2393) : error 017undefined symbol "dUserSetINT"
C:\Users\Charalambos\Desktop\NVCNR\gamemodes\SFCRRPG.pwn(2393) : error 029invalid expressionassumed zero
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase 
What should I define!?
need help!
Reply
#2

Post lines 2300->2400

But idk if that will help because
Код:
error 017: undefined symbol "udb_Exists" 
error 017: undefined symbol "udb_Exists" 
error 017: undefined symbol "dUserSetINT"
etc....
etc....
I have counted 12 times this "error 017: undefined symbol "dUserSetINT" " and 2 times "error 017: undefined symbol "udb_Exists" "
Those warnings ... it seems to exists on the lines that u are using dUserSetINIT and udb_Exits

Search from where u have implemented that script part , am introduce the definition for those two symbols that u use.
This is my suggestion
Reply
#3

Quote:
Originally Posted by CaTaLinU
Посмотреть сообщение
Post lines 2300->2400

But idk if that will help because
Код:
error 017: undefined symbol "udb_Exists" 
error 017: undefined symbol "udb_Exists" 
error 017: undefined symbol "dUserSetINT"
etc....
etc....
I have counted 12 times this "error 017: undefined symbol "dUserSetINT" " and 2 times "error 017: undefined symbol "udb_Exists" "
Those warnings ... it seems to exists on the lines that u are using dUserSetINIT and udb_Exits

Search from where u have implemented that script part , am introduce the definition for those two symbols that u use.
This is my suggestion
here you go:


PHP код:
    format(string,sizeof(string),"Version: %s",sversion);
    
TextDrawSetString(VersionTD,string);
    
TextDrawShowForPlayer(playerid,VersionTD);
    
TextDrawShowForPlayer(playerid,WebsiteTD);
    
TogglePlayerClock(playerid,1);
    
    
SetPlayerMapIcon(playerid,1,-2626.1843,211.5102,4.6097,6,0); //Ammunation
    
SetPlayerMapIcon(playerid,2,-2099.6882,899.1699,76.7109,24,0); //CaltonHeightsDH
    
SetPlayerMapIcon(playerid,3,-2779.9194,0.3026,10.0625,24,0); //OceanFlatsDH
    
SetPlayerMapIcon(playerid,4,-2576.4824,818.9226,49.9844,24,0); //ParadisoDH
    
SetPlayerMapIcon(playerid,5,-2433.7866,1281.6011,23.7422,24,0); //JuniperHollowDH
    
SetPlayerMapIcon(playerid,6,-1547.4066,123.6555,3.5547,9,0); //ShipYard
    
SetPlayerMapIcon(playerid,7,-1657.7573,1210.2754,7.2500,55,0); //Otto'sCars
    
SetPlayerMapIcon(playerid,8,-1923.3926,303.6380,41.0469,8,0); //BombShop
    
SetPlayerMapIcon(playerid,9,-2331.8582,-164.2207,35.5547,10,0); //BurgerShotGarcia
    
SetPlayerMapIcon(playerid,10,-2671.5444,260.9214,4.6328,10,0); //BurgerShotOcean
    
SetPlayerMapIcon(playerid,11,370.7744,-6.5378,1001.8589,14,0); //CluckinBellOcean
    
SetPlayerMapIcon(playerid,12,-2553.8923,193.2280,6.1560,49,0); //GayDarStation
    
SetPlayerMapIcon(playerid,13,-2241.8118,131.9901,35.3203,47,0); //Zero's
    
SetPlayerMapIcon(playerid,14,-2242.2817,-85.7698,35.3203,49,0); //Misty's
    
SetPlayerMapIcon(playerid,15,-1951.9911,300.2070,35.4688,55,0); //WangCars
    
SetPlayerMapIcon(playerid,16,-2658.3201,639.5060,14.4531,22,0); //Hospital
    
SetPlayerMapIcon(playerid,17,-2568.8982,243.9241,10.2489,7,0); //Barbers
    
SetPlayerMapIcon(playerid,18,-2270.1182,-152.8132,35.3203,54,0); //GYM
    
SetPlayerMapIcon(playerid,19,-2029.2903,-102.0118,35.1641,36,0); //DrivingSchool
    
SetPlayerMapIcon(playerid,20,-1979.9883,138.0498,27.6875,42,0); //TrainStation
    
SetPlayerMapIcon(playerid,21,-1911.2001,829.2663,35.1719,10,0); //BurgerShotDowntown
    
SetPlayerMapIcon(playerid,22,-1886.2000,862.4730,35.1719,45,0); //DowntownZip
    
SetPlayerMapIcon(playerid,23,-1806.8252,947.8553,24.8906,29,0); //FinancialPizza
    
SetPlayerMapIcon(playerid,24,-1748.4784,963.3699,24.8828,30,0); //FBI
    
SetPlayerMapIcon(playerid,25,-1692.5487,949.6002,24.8906,45,0); //DowntownVictim
    
SetPlayerMapIcon(playerid,26,-1496.8027,919.8218,7.1875,52,0); //Bank
    
SetPlayerMapIcon(playerid,27,-1609.2813,712.9857,13.7334,30,0); //SFPD
    
SetPlayerMapIcon(playerid,28,-1719.8079,1356.6371,7.1875,29,0); //EsplanadePizza
    
SetPlayerMapIcon(playerid,29,-2622.5164,1412.6412,7.0938,49,0); //Jizzy's
    
SetPlayerMapIcon(playerid,30,-2356.0327,1004.7512,50.8984,10,0); //BurgerShotJuniperHollow
    
SetPlayerMapIcon(playerid,31,-2374.1877,908.1357,45.4371,45,0); //JuniperHillBinco
    
SetPlayerMapIcon(playerid,32,-2446.3350,752.2393,35.1719,62,0); //SupaSave
    
SetPlayerMapIcon(playerid,33,-1814.2487,617.8710,35.1719,14,0); //DowntownCluckin
    
    //Check to see if they are registered or logged in
    
if(udb_Exists(PlayerName(playerid)))
    {
        
SendClientMessage(playerid,COLOR_ERROR,"This player name has already been registered. Please login before you spawn.");
        
ShowLoginScreen(playerid);
    }
    else
    if(!
udb_Exists(PlayerName(playerid)))
    {
        
SendClientMessage(playerid,COLOR_ERROR,"This player name has not been registered. You must register before playing.");
        
ShowRegisterScreen(playerid);
    }
    for(new 
0sizeof(Objects); i++) Player[playerid][view][i] = false/////////xobj
    
    
return 1;
}
//==============================================================================
public OnPlayerDisconnect(playeridreason)
{
    if(
IsPlayerNPC(playerid))
    {
        
IsSpawned[playerid] =0;
        return 
1;
    }
    if(
afktag[playerid] == 1)
    {
        new 
pname[16];
        
GetPlayerName(playerid,pname,16);
        
strdel(pnamestrlen(pname)-5strlen(pname));
        
afktag[playerid] =0;
        
SetPlayerName(playerid,pname);
    }
    new 
string[128];
    new 
pname[24];
    
GetPlayerName(playerid,pname,sizeof(pname));
    
    
//Save Wanted Level && Jailtime
    
SavedWantedLevel[playerid] =GetPlayerWantedLevel(playerid);
    
SavedJailTime[playerid] =JailTime[playerid];
    
    if(
PLAYERLIST_authed[playerid] == 1)
    {
        
dUserSetINT(PlayerName(playerid)).("Bankcash",BankCash[playerid]);
        
dUserSetINT(PlayerName(playerid)).("Cash",GetPlayerMoney(playerid));
        
dUserSetINT(PlayerName(playerid)).("Score",GetPlayerScore(playerid));
         
dUserSetINT(PlayerName(playerid)).("Adminlevel",AdminLevel[playerid]);
        
dUserSetINT(PlayerName(playerid)).("Army",CanUseArmy[playerid]);
        
dUserSetINT(PlayerName(playerid)).("CIA",CanUseCIA[playerid]);
        
dUserSetINT(PlayerName(playerid)).("RegularPlayer",IsRegularPlayer[playerid]);
        
dUserSetINT(PlayerName(playerid)).("DrugHouseOwner",DrugHouseOwner[playerid]);
        
dUserSetINT(PlayerName(playerid)).("OttoOwner",OttoOwner[playerid]);
        
dUserSetINT(PlayerName(playerid)).("TSkill",TerroristSkill[playerid]);
        
dUserSetINT(PlayerName(playerid)).("RobSkill",RobSkill[playerid]);
        
dUserSetINT(PlayerName(playerid)).("HasPackC4",HasPackC4[playerid]);
        
dUserSetINT(PlayerName(playerid)).("HasPackRope",HasPackRope[playerid]);
        
dUserSetINT(PlayerName(playerid)).("HasPackMoney",HasPackMoney[playerid]);
        
dUserSetINT(PlayerName(playerid)).("SavedWantedLevel",SavedWantedLevel[playerid]);
        
dUserSetINT(PlayerName(playerid)).("SavedJailTime",SavedJailTime[playerid]);
    }
    
    
//Do things to the playerid
    
ResetVariables(playerid);
    
TextDrawHideForPlayer(playerid,VersionTD);
    
TextDrawHideForPlayer(playerid,WebsiteTD);
    
TextDrawDestroy(MessageTD[playerid]);
    
TextDrawDestroy(JailTimer[playerid]);
    
TextDrawDestroy(LocationTD[playerid]); 
Reply
#4

Try the last part

"Search from where u have implemented that script part , am introduce the definition for those two symbols that u use udb_Exists & dUserSetINT
This is my suggestion"
Reply
#5

Quote:
Originally Posted by CaTaLinU
Посмотреть сообщение
Try the last part

"Search from where u have implemented that script part , am introduce the definition for those two symbols that u use udb_Exists & dUserSetINT
This is my suggestion"
Sry but im not so good in scripting, can you may explain what should I edit?
Reply
#6

anybody there to help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)