Commands Reading - 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)
+--- Thread: Commands Reading (
/showthread.php?tid=440414)
Commands Reading -
-=Dar[K]Lord=- - 29.05.2013
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
Re: Commands Reading -
Face9000 - 29.05.2013
OnPlayerCommandPerformed.
Re: Commands Reading -
-=Dar[K]Lord=- - 29.05.2013
Quote:
Originally Posted by Face9000
OnPlayerCommandPerformed.
|
Well Will try this out
Re: Commands Reading -
-=Dar[K]Lord=- - 29.05.2013
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?
Re: Commands Reading -
Face9000 - 29.05.2013
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) SendClientMessage(playerid, COLOR_WHITE, "Server: Unknown command.");
//Your read commands code
return 1;
}