Announce Command
#1

Can anyone post a script showing an announce command which uses ZCMD

Код:
CMD:announce(playerid, params[])
etc...
It shows a text on the screen for all players for about 3 seconds
Reply
#2

Not sure If I miss something, you must use sscanf and zcmd
pawn Код:
CMD:announce(playerid, params[])
{
    new string[90]
    if(sscanf(params, "s[90]", string))
        return SendClientMessage(playerid, -1, "Syntax: /announce [message]");
    GameTextForAll(string, 3500, 3);
    return true;
}
Reply
#3

Thanks pds2k12, it worked. +REPUTATION
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)