10.08.2012, 14:06
Hello guys. I have a problem with my /o command. When i type /o Hello, it says ''USAGE: /o <TEXT>''. I cant say anything, it keeps saying how i need to use it. Can anyone fix this for me please? I really need it. Here's the Code:
Код:
COMMAND:o(playerid,params[]) { new str[128]; if(sscanf(params,"s[128]",str)) return SendClientMessage(playerid,-1,"USAGE: /o [TEXT]"); new name[20]; GetPlayerName(playerid,name,20); format(str,sizeof(str),"[OOC CHAT] %s[ID :%d] : %s",name,playerid,str); SendClientMessageToAll(-1,str); return 1; }