Command /asay help me please
#6

PHP код:
CMD:asay(playeridparams[])
{
    new 
str[144]; //text max is 144 not 128
    
if(!IsPlayerAdmin(playerid)) return 0;
    if(
sscanf(params"s[144]"params)) return SendClientMessage(playerid, -1"/asay [message]"); //we can use params instead of making another str2[144]; //useless
    
format(stringsizeof(string),"Admin %s: %s"Name(playerid), params);
    
SendClientMessageToAll(-1string);
    return 
1;

Reply


Messages In This Thread
Command /asay help me please - by SapMan - 29.03.2018, 05:46
Re: Command /asay help me please - by BulletRaja - 29.03.2018, 06:08
Re: Command /asay help me please - by Dayrion - 29.03.2018, 06:55
Re: Command /asay help me please - by SapMan - 29.03.2018, 15:04
Re: Command /asay help me please - by ivndosos - 29.03.2018, 15:20
Re: Command /asay help me please - by Lokii - 29.03.2018, 15:39
Re: Command /asay help me please - by SapMan - 29.03.2018, 16:02
Re: Command /asay help me please - by rfr - 29.03.2018, 16:06
Re: Command /asay help me please - by SyS - 29.03.2018, 16:09
Re: Command /asay help me please - by Dayrion - 29.03.2018, 16:31

Forum Jump:


Users browsing this thread: 2 Guest(s)