Ladmin Problem
#1

Hey , i use Lethal Admin System (Ladmin) . I've tryed to put new commands in it but the commands won't work .
I've tryed with dcmd , strcmp and zcmd... nothing , don't work.
What could be the problem ?
Reply
#2

It's 'dcmd' In ladmin. Can we see 1 of the commands your trying to put in ?
Reply
#3

Код:
CMD:test( playerid  ,params[ ] )
{ 
SendClientMessage( playerid , COLOR_WHITE , " It works ! " ) ; 
return 1; 
}
I've tested , it doesn't work.
It says SERVER:Unknown Command
Reply
#4

Try:

Код:
dcmd_test(playerid,params[])
{ 
#pragma unused params
SendClientMessage( playerid , COLOR_WHITE , " It works ! " ) ; 
return 1; 
}
Works in my ladmin setup.
Reply
#5

yeah try this
Reply
#6

I have found the problem , no commands works in ladmin if i #include <zcmd> ...
Thanks , works with dcmd
Reply
#7

Quote:
Originally Posted by Davz*|*Criss
Посмотреть сообщение
yeah try this
Dont forget to add:

Код:
dcmd(test,4cmdtext);
Under:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
Reply
#8

Stigg...i know that , thanks anyway
Reply
#9

Lol. No prob's, glad you got it sorted.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)