DCMD error[FIXED]
#1

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
Reply
#2

pawn Код:
dcmd(buy, 3, cmdtext);
dcmd(sell, 4, cmdtext);
dcmd(enter, 5, cmdtext);
dcmd(exit, 4, cmdtext);
Without "/"
Reply
#3

pawn Код:
dcmd(buy,3, cmdtext);
dcmd(sell,4, cmdtext);
dcmd(enter,5, cmdtext);
dcmd(exit,4, cmdtext);
//without the '/'
sry don corelli was faster
Reply
#4

delete the / infront of it ;p
Reply
#5

Nothing changes,still the same 4 errors
Reply
#6

did u use dcmd_exit(playerid, params[]) or dcmd_/exit(playerid, params[]) ? the first one is right...
Reply
#7

No,I copied it straight from the tutorial,like i was told.
Reply
#8

did you put the dcmd define on top of your script?
Reply
#9

Yes,I did
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)