SA-MP Forums Archive
dcmd - 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 (/showthread.php?tid=492699)



dcmd - AhmedMohamed - 05.02.2014

I don't have problem with :
Код:
dcmd(kick, 4, cmdtext);
dcmd(ban, 3, cmdtext);
I just want to know what is that " 4 " in kick ??
Or that " 3 " in ban ??
and if i want to make another command what can i write 3 , 4 or something else?
thank you


Re: dcmd - jakejohnsonusa - 05.02.2014

Its how many characters the command is, I'm tired and can't remember what the 'characters' are called... but yeah.

1. k
2. i
3. c
4. k

dcmd(kick, 4, cmdtext);


Re: dcmd - AhmedMohamed - 05.02.2014

Thank you " jakejohnsonusa " Rep+ for that GREAT information.
there are another thing : when i follow that tutorial in the following link : http://*******/OABrq1
it compile with no errors or warnings but when I open the game it said " server closed the connection "
do you know what is the proplem ??