ladmin Script - 10 Level - Question - 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: ladmin Script - 10 Level - Question (
/showthread.php?tid=147746)
ladmin Script - 10 Level - Question -
IchBinCool - 14.05.2010
I have one question regarding ladmin script.
I tried to make 10 levels, so I edited
pawn Код:
dcmd_level5(playerid,params[]) {
for each level. (dcmd_level5, dcmd_level6,dcmd_level7,dcmd_level8,dcmd_level9,dc md_level10)
I also defined the symbols
and so on...
I went ingame and tried it. /level1 - /level9 are working well but if I type /level10 there is: "Unknown command"
Can somebody help me?
Re: ladmin Script - 10 Level - Question -
[HiC]TheKiller - 14.05.2010
Remember that it will be 7 characters then. Also ask in that topic next time.
Re: ladmin Script - 10 Level - Question -
IchBinCool - 14.05.2010
Hi [HiC]TheKiller
Maybe you can explain how I can fix it?
Re: ladmin Script - 10 Level - Question -
SloProKiller - 14.05.2010
Quote:
Originally Posted by IchBinCool
Hi [HiC]TheKiller
Maybe you can explain how I can fix it?
|
Instead of
dcmd(level10,6,cmdtext);
use
dcmd(level10,7,cmdtext);
Re: ladmin Script - 10 Level - Question -
IchBinCool - 14.05.2010
Quote:
Originally Posted by SloProKiller
Quote:
Originally Posted by IchBinCool
Hi [HiC]TheKiller
Maybe you can explain how I can fix it?
|
Instead of
dcmd(level10,6,cmdtext);
use
dcmd(level10,7,cmdtext);
|
Omg it works! Thank you very much!
Re: ladmin Script - 10 Level - Question -
juice.j - 14.05.2010
(( Die Nummer oder zweite Variable gibt immer die Zeichenanzahl des Commands an ))
The second variable indicates the number of the command's characters.