SA-MP Forums Archive
DCMD callbacks - 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: DCMD callbacks (/showthread.php?tid=506714)



DCMD callbacks - weedxd - 14.04.2014

Can somone plss tell me what does the number in middle stand for

dcmd(changename,10,cmdtext);


Re: DCMD callbacks - Dignity - 14.04.2014

10 is the amount of letters "changename" has.


Re: DCMD callbacks - weedxd - 14.04.2014

Quote:
Originally Posted by Mionee
Посмотреть сообщение
10 is the amount of letters "changename" has.
Thank you know i know how to define dcmd cmds


Re: DCMD callbacks - liquor - 14.04.2014

Remember the space, or maybe that isn't necessary with dcmd? If it is, the space between "changename" and the specified new name string has to be included in the count, thus it should be 11 instead of 10.

"changename " = 11