DCMD error[FIXED] - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: DCMD error[FIXED] (
/showthread.php?tid=126635)
DCMD error[FIXED] -
too803 - 09.02.2010
I get this four errors
C:\Documents and Settings\Admin\Desktop\server\gamemodes\tAxIFRB.pw n(4346) : error 010: invalid function or declaration
C:\Documents and Settings\Admin\Desktop\server\gamemodes\tAxIFRB.pw n(4347) : error 010: invalid function or declaration
C:\Documents and Settings\Admin\Desktop\server\gamemodes\tAxIFRB.pw n(434
: error 010: invalid function or declaration
C:\Documents and Settings\Admin\Desktop\server\gamemodes\tAxIFRB.pw n(4349) : error 010: invalid function or declaration
when i compile this script
dcmd(/buy,3, cmdtext);
dcmd(/sell,4, cmdtext);
dcmd(/enter,5, cmdtext);
dcmd(/exit,4, cmdtext);
for the tutorial on this thread
http://forum.sa-mp.com/index.php?topic=40314.15
check reply number 23
Re: DCMD error -
Correlli - 09.02.2010
pawn Код:
dcmd(buy, 3, cmdtext);
dcmd(sell, 4, cmdtext);
dcmd(enter, 5, cmdtext);
dcmd(exit, 4, cmdtext);
Without "/"
Re: DCMD error -
thiaZ_ - 09.02.2010
pawn Код:
dcmd(buy,3, cmdtext);
dcmd(sell,4, cmdtext);
dcmd(enter,5, cmdtext);
dcmd(exit,4, cmdtext);
//without the '/'
sry don corelli was faster
Re: DCMD error -
~Dangun! - 09.02.2010
delete the / infront of it ;p
Re: DCMD error -
too803 - 09.02.2010
Nothing changes,still the same 4 errors
Re: DCMD error -
thiaZ_ - 09.02.2010
did u use dcmd_exit(playerid, params[]) or dcmd_/exit(playerid, params[]) ? the first one is right...
Re: DCMD error -
too803 - 09.02.2010
No,I copied it straight from the tutorial,like i was told.
Re: DCMD error -
thiaZ_ - 09.02.2010
did you put the dcmd define on top of your script?
Re: DCMD error -
too803 - 09.02.2010
Yes,I did