[HELP] unknown command
#1

i typing /ads test (work)

and i typing /ads test test (not work)


here my code
Код:
CMD:ads( playerid, params[ ] )
{
    new pName[MAX_PLAYER_NAME], text[900], string[128];
    GetPlayerName(playerid, pName,sizeof(pName));
    if(sscanf(params, "s[128]",text)) return SendClientMessage(playerid, -1,"{F300FF}***AdmMsg   {0049FF}:{FFFFFF}Usage: /ads [text]");
    format(string,sizeof(string),"%s Contact: %s(%i)",text,pName,playerid);
    printf(string);
    SendClientMessageToAll(COLOR_WHITE,string);
	return 1;
}
Reply


Messages In This Thread
[HELP] unknown command - by AgusZ - 12.01.2015, 08:49
Re: [HELP] unknown command - by Gammix - 12.01.2015, 09:25
Re: [HELP] unknown command - by CalvinC - 12.01.2015, 09:31

Forum Jump:


Users browsing this thread: 2 Guest(s)