2021-04-28, 05:47 PM
(This post was last modified: 2021-04-28, 10:13 PM by PutuSuhartawan.)
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.