ZCMD troubleshooting
#1

Alright guys, somehow.. every time i tried to code(even testing a simple cmd) with ZCMD is giving me error, i just made a simple Enter and Exit as a FS for my ammunation system, i added ZCMD at the top of my script and made the code, so when i compiled it, it throws me an error wich is this:

Код:
C:\Users\Gilberto\Downloads\Alternative RP Test Server\pawno\include\ZCMD.inc(131) : error 017: undefined symbol "mysql_function_query"
I'm not even implementing a mysql_function_query at my script... it's just a simple enter and exit cmd made with ZCMD.. and tbh i've been trying to solve this problem for days.. i'm not really used to script with ZCMD and i'm not pretty sure what's wrong, heres my code:

pawn Код:
CMD:enter(playerid, params[])
{
        if(IsPlayerInRangeOfPoint(playerid, 3.0, 1368.9998,-1279.6885,13.5469))
        {
           SetPlayerPos(playerid, 317.1362,-167.2568,999.5938);//AmmunationEntrance
           SetPlayerFacingAngle(playerid, 16.1934);
           SetPlayerInterior(playerid, 6);
           GameTextForPlayer(playerid, "~y~ Welcome to AmmuNation", 500, 1);
        }
        return 1;
}

CMD:exit(playerid, params[])
{
        if(IsPlayerInRangeOfPoint(playerid, 3.0, 317.1362,-167.2568,999.5938))
        {
           SetPlayerPos(playerid, 1368.9998,-1279.6885,13.5469);//AmmunationExit
           SetPlayerInterior(playerid, 0);
        }
        return 1;
}
NOTE: i could do it with STRCMP as i'm used to it, but the whole GM is in ZCMD,there for, it will bug up all my cmds, i just made this FS with ZCMD include for learning purposes but it seems that something is wrong
Reply
#2

You have error in your ZCMD include re-download it and everything it will be ok
Reply
#3

Oh, i didn't know it had an error, nvm, i was such an idiot xD, thank you. [REP] you saved me time
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)