Commands Reading
#1

Well I Have caught up with an problem of ZCMD. In My Admin system i am using ZCMD. Now I want a command reader like in LuxAdmin it was in OnPlayerCommandText...

Quote:

***Player Dar[K]Lord(0) Has Used Command: sf

which will only show the message to admins , as luxadmin uses DCMD is there any way to make it on ZCMD, i have tryed it once but never got the message
Reply
#2

OnPlayerCommandPerformed.
Reply
#3

Quote:
Originally Posted by Face9000
Посмотреть сообщение
OnPlayerCommandPerformed.
Well Will try this out
Reply
#4

Quote:
Originally Posted by Face9000
Посмотреть сообщение
OnPlayerCommandPerformed.

Well Before I had return 0; in the end which sshowed up the messages but also showed a "Server:Unknown command" when player types /goto , /lspec or anything is there any solution for that?
Reply
#5

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) SendClientMessage(playerid, COLOR_WHITE, "Server: Unknown command.");
    //Your read commands code
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)