hlmod.hu
https://hlmod.hu/

print_color
https://hlmod.hu/viewtopic.php?f=9&t=28130
Oldal: 1 / 1

Szerző:  StreetBoyHun [ 2017.08.16. 10:32 ]
Hozzászólás témája:  print_color

Üdv. Valaki el tudná nekem küldeni a print_color cost-ját? (vagy nem tudom hogy hivják már :D[amit aj aljára kell beírni hogy menjen a print_color parancs.]) Köszönöm!

Szerző:  Krisznitro [ 2017.08.16. 12:48 ]
Hozzászólás témája:  Re: print_color

StreetBoyHun írta:
Üdv. Valaki el tudná nekem küldeni a print_color cost-ját? (vagy nem tudom hogy hivják már :D[amit aj aljára kell beírni hogy menjen a print_color parancs.]) Köszönöm!

  1. stock print_color(const id, const input[], any:...)
  2. {
  3.         new count = 1, players[32]
  4.         static msg[191]
  5.         vformat(msg, 190, input, 3)
  6.  
  7.         replace_all(msg, 190, "!g", "^4")
  8.         replace_all(msg, 190, "!y", "^1")
  9.         replace_all(msg, 190, "!t", "^3")    
  10.  
  11.         if (id) players[0] = id; else get_players(players, count, "ch")
  12.         {
  13.                 for (new i = 0; i < count; i++)
  14.                 {
  15.                         if (is_user_connected(players[i]))
  16.                         {
  17.                                 message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])
  18.                                 write_byte(players[i])
  19.                                 write_string(msg)
  20.                                 message_end()
  21.                         }
  22.                 }
  23.         }
  24.         return PLUGIN_HANDLED
  25. }

Szerző:  StreetBoyHun [ 2017.08.17. 10:12 ]
Hozzászólás témája:  Re: print_color

Ajj. Köszike szépen :D Imádlak

Oldal: 1 / 1 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/