Need a /announce command
#6

this one we tried to make but when we do the command and enter the text nothing comes up at all not as a client message or gametext but also doesnt say server unknown command


if(strcmp(cmd, "/announce", true) == 0)
{

tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, 0xA0A0A0FF, "Use /announce [TEXT].");
return 1;
}
new text,announce[40];
text = strval(tmp);
format(announce,sizeof(announce), "%s", text);
if(PlayerAdmin[playerid][Admin] > 1)
GameTextForAll(announce, 5000, 6);
return 1;
}
Reply


Messages In This Thread
Need a /announce command - by Captain_jeffree95 - 08.06.2013, 14:24
Re: Need a /announce command - by jackci - 08.06.2013, 14:27
Re: Need a /announce command - by Captain_jeffree95 - 08.06.2013, 14:30
Re: Need a /announce command - by jackci - 08.06.2013, 14:37
Re: Need a /announce command - by Chasm - 08.06.2013, 15:15
Re: Need a /announce command - by Captain_jeffree95 - 10.06.2013, 05:41

Forum Jump:


Users browsing this thread: 1 Guest(s)