ladmin Script - 10 Level - Question
#1

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
pawn Код:
dcmd(level6,6,cmdtext);
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?
Reply
#2

Remember that it will be 7 characters then. Also ask in that topic next time.
Reply
#3

Hi [HiC]TheKiller

Maybe you can explain how I can fix it?
Reply
#4

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);
Reply
#5

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!
Reply
#6

(( Die Nummer oder zweite Variable gibt immer die Zeichenanzahl des Commands an ))

The second variable indicates the number of the command's characters.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)