Simple command isn't working
#5

Quote:
Originally Posted by Jafet_Macario
View Post
PHP Code:
CMD:me(playeridparams[])
{
    new 
pName[MAX_PLAYER_NAME], string[128];
    
GetPlayerName(playeridpNamesizeof(pName));
    if(
isnull(params)) return SendClientMessage(playeridCOLOR_WHITE""#COL_DGREY"[CMD] / "#COL_SGREY"[Action]");
    
format(stringsizeof(string), "* %s %s"pNameparams);
    
SendClientMessageToAll(COLOR_RED,string);
    return 
1;

Yes, those are working. But now if I use it I didn't learned anything. Can someone show me a example with using sscanf? So I can see what I've did wrong.
Reply


Messages In This Thread
Simple command isn't working - by Kingunit - 27.08.2011, 21:52
Re: Simple command isn't working - by [MG]Dimi - 27.08.2011, 21:55
AW: Simple command isn't working - by Nero_3D - 27.08.2011, 21:58
Re: Simple command isn't working - by Jafet_Macario - 27.08.2011, 22:00
Re: Simple command isn't working - by Kingunit - 27.08.2011, 22:03
Re: Simple command isn't working - by Jafet_Macario - 27.08.2011, 22:05
Re: Simple command isn't working - by Kingunit - 27.08.2011, 22:10

Forum Jump:


Users browsing this thread: 1 Guest(s)