26.01.2013, 10:39
Quote:
Hey guys, I'm making some commands for my server. I was wondering how you can add a "USAGE:" When someone does the command in the wrong way! For example. If someone just does /me, it should say "USAGE: /me <text>. I hope you can help me!
|
pawn Код:
new text[128]
if(sscanf(params,"s[128]",text)) return SendClientMessage(playerid,0xE6E61AC8,"Usage /me <atext>");
or you can do
pawn Код:
if(isnull(params)) return SendClientMessage(playerid,0xE6E61AC8,"Usage /me <atext>");