SA-MP Forums Archive
Compile Error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Compile Error (/showthread.php?tid=584481)



Compile Error - Hazliu - 05.08.2015

Error:
Код HTML:
RPG.pwn(34708) : error 029: invalid expression, assumed zero
RPG.pwn(34708) : error 017: undefined symbol "cmd_event"
RPG.pwn(34708) : error 029: invalid expression, assumed zero
RPG.pwn(34708) : fatal error 107: too many error messages on one line
Error Line:
Код HTML:
CMD:event(playerid, params[])
How i can fix it?..


Re: Compile Error - SickAttack - 05.08.2015

Do you have ZCMD (include)?


Re: Compile Error - Hazliu - 05.08.2015

yes
Код HTML:
#include          <         a_samp             >
#include          <          core                >
#include          <          float                >
#include          <         sscanf2            >
#include          <          time                >
#include          <          file                  >
#include          <          utils                 >
#include          <          morphinc            >
#include          <           Dini                  >
#include          <          streamer            >
#include          <          SpikeStrip          >
#include          <           JunkBuster         >
#include          <         	zcmd	         >
#include          <              foreach         >
But, ai have some command with sscanf " if (strcmp(cmd, "/command", true) == 0)" Is a problem?

And i try to add this system:https://sampforum.blast.hk/showthread.php?tid=472252


Re: Compile Error - Hazliu - 05.08.2015

Anybody??


Re: Compile Error - perfectboy - 05.08.2015

remove that params just try using CMD:event

Player id and params are already taken as defauls to if u remove i still u can use it try using just CMD:event