• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [SOLVED] How to get Zcmd to notify you when a command is wrong
#1
Code:
// SOLUTION

public OnPlayerCommandPerformed(playerid, cmdtext[], success)

{

if(!success) return SendClientMessage(playerid, -1, "INVALID CMD.");



return 1;

}





For 6 months I was confused about how to notify someone that someone typed cmd. because since using include zmd, the function for warning notification of cmd input errors has been lost so far in my gamemode. please help sir.
  Reply
#2
Code:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)

{

if(!success) return SendClientMessage(playerid, -1, "INVALID CMD.");



return 1;

}
[Image: QIDa2vB.png]

  Reply
#3
Thanks a lot sir.



error 021: symbol already defined: "OnPlayerCommandPerformed"?



is Zcmd have trouble sir?
  Reply


Forum Jump: