Cmds Hrlp
#1

i want to make the admin command like this //something and i do it on dcmd like this
Код:
dcmd(/cmds,5,cmdtext);
but when i do it look what its come
Код:
C:\Users\maher\Desktop\Iron-Players\gamemodes\Iron-Players.pwn(3496) : error 017: undefined symbol "dcmd_"
C:\Users\maher\Desktop\Iron-Players\gamemodes\Iron-Players.pwn(5824) : error 010: invalid function or declaration
C:\Users\maher\Desktop\Iron-Players\gamemodes\Iron-Players.pwn(5826) : error 017: undefined symbol "params"
C:\Users\maher\Desktop\Iron-Players\gamemodes\Iron-Players.pwn(5827) : error 010: invalid function or declaration
C:\Users\maher\Desktop\Iron-Players\gamemodes\Iron-Players.pwn(5831) : error 010: invalid function or declaration
C:\Users\maher\Desktop\Iron-Players\gamemodes\Iron-Players.pwn(5835) : error 010: invalid function or declaration
C:\Users\maher\Desktop\Iron-Players\gamemodes\Iron-Players.pwn(5839) : error 010: invalid function or declaration
C:\Users\maher\Desktop\Iron-Players\gamemodes\Iron-Players.pwn(5843) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Errors.
i tried to do it on zcmd but its still happenning to me i wanna know what is the proplem
Reply
#2

You have the inc dcmd?
Reply
#3

Isn't it suppose to be like this?
pawn Код:
dcmd_test(playerid,params[])
{
    SendClientMesseage(playerid, COLOR_RED, "TEST!!!");
    return 1;
}
Make sure you've DCMD.
Reply
#4

Quote:
Originally Posted by TomatoRage
Посмотреть сообщение
i want to make the admin command like this //something and i do it on dcmd like this
Код:
dcmd(/cmds,5,cmdtext);
And btw dont type /cmds like u used in OnPlayerCommandText.Use "cmds" without quotes.
Reply
#5

No i typed / to be // ingame like //cmds
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)