What does it do? - 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: What does it do? (
/showthread.php?tid=449079)
What does it do? -
DJRebis - 07.07.2013
Hi, my cmd isnt working and what does "7" means?
Код:
dcmd(setadminlevel,7,cmdtext);
Re: What does it do? -
dEcooR - 07.07.2013
this seven means the letters of your command example command lol - so you will use 3 letters..
So if setadminlevel - use there 13,you could use this example setlevel or setlvl

shortly.
Re: What does it do? -
Konstantinos - 07.07.2013
In other words, it's the lenght of the command's name without the slash "/".
Change to:
pawn Код:
dcmd(setadminlevel, 13, cmdtext);
Re: What does it do? -
dEcooR - 07.07.2013
Sorry,cant explain it like you with my poor english
Re: What does it do? -
DJRebis - 07.07.2013
Quote:
Originally Posted by dEcooR
Sorry,cant explain it like you with my poor english 
|
Thaks anyway!

+Rep