SA-MP Forums Archive
dcmd weird 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: dcmd weird error (/showthread.php?tid=159231)



dcmd weird error - oliverrud - 12.07.2010

I'm getting a error at:

pawn Код:
dcmd(achievements,12,cmdtext);
Код:
error 035: argument type mismatch (argument 2)
I don't know if 12 is too much but for some reason I get a error.


Re: dcmd weird error - DeathOnaStick - 12.07.2010

Do you have other dcmd-commands that work properly?


Re: dcmd weird error - oliverrud - 12.07.2010

Yea I got 50 others. :=)


Re: dcmd weird error - introzen - 12.07.2010

show us the line above and under that one


Re: dcmd weird error - oliverrud - 12.07.2010

pawn Код:
dcmd(buyammo,7,cmdtext); // 50
dcmd(achievements,12,cmdtext); // 51
nothing under.


Re: dcmd weird error - introzen - 12.07.2010

how is the dcmd_achievements(playerid, params[]) ??


Re: dcmd weird error - introzen - 12.07.2010

post the whole command


Re: dcmd weird error - oliverrud - 12.07.2010

I failed forgot the [] at params.