Just a question. - 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: Just a question. (
/showthread.php?tid=349150)
Just a question. -
HighPitchedVoice - 08.06.2012
I am using YCMD and I want to make if the player spell the command wrong I want it to add a SendClientMessage that the command is incorrect...
I haven't placed my commands under OnPlayerCommandText either since it's not needed...
Re: Just a question. -
JaKe Elite - 08.06.2012
Use onplayercommandperformed sorry I can't post the code I'm in a mobile
Re: Just a question. -
D.Prizzy - 08.06.2012
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) return SendClientMessage(playerid,R, "Unknown Command!");
return 1;
}