[AJUDA]: /ANN
#10

Quote:

dcmd_ann(playerid, params[])
{
#pragma unused params
if(PlayerData[playerid][AdminLevel] >= 1)
{
new tmp[128], idx;
tmp = strtok(cmdtext, idx, strlen(cmdtext));
if(!strlen(tmp))return SendClientMessage(playerid, COLOR_GREY, "Use: /ann [text]");
new string[128];
format(string, sizeof(string), "~w~%s", tmp);
GameTextForAll(string, 5000, 3);
return true;
}
else return SendClientMessage(playerid, COLOR_GREY, "[INFO]: Vocк nгo pode utilizar esse comando");
}

nгo precisa de strtok em dcmd de announce sу no strcmp
Reply


Messages In This Thread
[RESOLVIDO]: /ANN - by GhosT_[] - 03.06.2012, 22:11
Re: [AJUDA]: /ANN - by Crueliz0n - 03.06.2012, 22:40
Re: [AJUDA]: /ANN - by GhosT_[] - 03.06.2012, 23:32
Re: [AJUDA]: /ANN - by GhosT_[] - 03.06.2012, 23:35
Re: [AJUDA]: /ANN - by jamaica90 - 03.06.2012, 23:38
Re: [AJUDA]: /ANN - by sanalex - 03.06.2012, 23:38
Re: [AJUDA]: /ANN - by Crueliz0n - 03.06.2012, 23:44
Re: [AJUDA]: /ANN - by 'Duallity - 03.06.2012, 23:46
Re: [AJUDA]: /ANN - by DrTHE - 04.06.2012, 00:01
Re: [AJUDA]: /ANN - by Crueliz0n - 04.06.2012, 14:18

Forum Jump:


Users browsing this thread: 2 Guest(s)