Announce
#1

i want sistem with /announce but more colors i have 1 announce color i want more can someone help me ?
colors like : red blue yellow and more ...
Reply
#2

Just write ~g~ ~y~ ~r~ etc.. for colored messages
Reply
#3

can you show me an exemple?
Reply
#4

You already have a /announce system? (with gametexts?)
If you have it, when you write a message (example: helloo guys) you just write he~r~lloo ~y~guys (hel(start red)lloo (start yellow)guys )
To have a message color
Reply
#5

i have /announce by XtremeAdmin2
Reply
#6

if using ZCMD and sscanf2
pawn Код:
COMMAND:ann(playerid, params[])
{
        if(PlayerInfo[playerid][PlayerAdmin] < ANN_LEVEL) return SendClientMessage(playerid,COLOR_RED, "You Cant Use This Command!");
        GetPlayerName(playerid, Pname, sizeof(Pname));
        if(sscanf(params,"si", params[0],params[1])) return SendClientMessage(playerid, COLOR_WHITE, ""WHITE"Usage: "GREEN"/Ann "WHITE"[Text] [Style 1-6]");
        if(params[1]>6||params[1]<0) return SendClientMessage(playerid, COLOR_WHITE, ""WHITE"Usage: "GREEN"/Ann "WHITE"[Text] [Style 1-6]");
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i)) GameTextForPlayer(i, params[0], 5000, params[1]);
        }
        return 1;
}
then you can just do
/Ann ~r~Test~g~Ann~b~Colors 5
this will be liek this
Test Ann Colors
Reply
#7

just green and white ?
I want /announce sistem
Reply
#8

NO lol green and white are just the SendClientMessage Colors take this command i type /ann ~r~H~b~e~w~ll~r~o

it will be He(cant show white)llo
Reply
#9

https://sampwiki.blast.hk/wiki/GameTextStyle
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)