31.07.2012, 15:09
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:
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:
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
Код:
C:\Users\Gilberto\Downloads\Alternative RP Test Server\pawno\include\ZCMD.inc(131) : error 017: undefined symbol "mysql_function_query"
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;
}