.SMA teksto keitimo spalva
-
- Jau perkopė 10 žinučių ribą !
- Posts: 16
- Joined: 2019 Feb 24 17:15
.SMA teksto keitimo spalva
Sveiki, kaip .SMA faile pakeisti spalvą ? Tarkim tekstas - "Restartavai savo rezultatus" kaip pakeisti spalvą jog būtų tarkim žalia? pačiame žaidime.
- psychical
- Viršininkas
- Posts: 2094
- Joined: 2011 Mar 12 22:19
- Skype: tautvydas11
- Location: Linksmakalnis
- Contact:
Re: .SMA teksto keitimo spalva
Kadangi aš taip ir neišmokau naudotis client_print_color tai naudojiesi stock'u...
print_color(0, "!gzalia");
Code: Select all
stock print_color(const id, const input[], any:...){ new Count = 1, Players[MAX_PLAYERS]; static Msg[260]; vformat(Msg, 260, input, 3); replace_all(Msg, 260, "!g", "^4"); replace_all(Msg, 260, "!y", "^1"); replace_all(Msg, 260, "!t", "^3"); if(id) Players[0] = id; else get_players(Players, Count, "ch"); { for(new i = 0; i < Count; i++) { if(is_user_connected(Players[i])) { message_begin(MSG_ONE, get_user_msgid("SayText"), _, Players[i]); write_byte(Players[i]); write_string(Msg); message_end(); } } } return PLUGIN_HANDLED;}
Re: .SMA teksto keitimo spalva
Code: Select all
client_print_color(id, print_team_default, "^4Restartavai savo rezultatą.")
Ark'xes // firefly.lt
-
- Jau perkopė 10 žinučių ribą !
- Posts: 16
- Joined: 2019 Feb 24 17:15
Re: .SMA teksto keitimo spalva
Sutvarkyta
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests