Jump to content

Welcome to PISTOLARII România @ Since 2011
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  Serban : (29 February 2024 - 01:44 PM)

re

@  DwL : (29 February 2024 - 12:04 PM)

re

@  CraZy- : (29 February 2024 - 11:22 AM)

Neata

@  Nobody : (29 February 2024 - 10:33 AM)

Re

@  mindfreak. : (29 February 2024 - 10:04 AM)

Neata

@  btxp3dro : (28 February 2024 - 03:14 PM)

https://pistolarii.ro/index.php?/topic/404-banlist-btxp3dro/

@  heroiNNa : (27 February 2024 - 02:54 PM)

Salut

@  Nobody : (27 February 2024 - 01:29 PM)

Salut

@  E R R O R : (27 February 2024 - 01:20 PM)

Neata :)

@  E R R O R : (25 February 2024 - 01:35 PM)

Salut! Am lăsat ieri la postul lui Dwl pozele făcute lui azen și wg-ul, va rog sa va dați o părere înainte de ședință. Este la staff only. Mulțumesc!

@  Serban : (24 February 2024 - 06:58 PM)

da?

@  heroiNNa : (24 February 2024 - 05:59 PM)

Salut

@  FrunzaB : (24 February 2024 - 05:06 PM)

serban !

@  Lovely : (24 February 2024 - 04:25 PM)

hai noroc

@  Nobody : (24 February 2024 - 12:18 PM)

:))

@  CraZy- : (24 February 2024 - 12:15 PM)

Abia m'am trezit Nobody. Ajunge atâta somn :))))

@  Nobody : (24 February 2024 - 12:05 PM)

Culca-te! :)

@  CraZy- : (24 February 2024 - 11:56 AM)

Neața!

@  Nobody : (24 February 2024 - 11:42 AM)

:)))

@  valentinn : (24 February 2024 - 11:01 AM)

buna dimineata la cafeluta sa aveti un zambet minunat :))


Photo

[AMXX] Despre HUD-uri


  • Please log in to reply
No replies to this topic

#1
negruTi

negruTi
    pistolarii powah!

  • Loyalty
  • PipPipPipPipPipPip
  • posts
  • 405
  • Warns
Likes
  • Joc Preferat:CS 1.6

Dupa cum stiti hud-urile sunt foarte folosite.
Ele sunt foarte simple de facut.
Ca sa nu aveti probleme cu ele luati amxx studio si alegeti de sus Generators -> Hud messaje Generator si alegi acolo pozitia culoare etc dupa aia dati OK.
Sa va explic cum functioneaza un hud.

set_hudmessage ( red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2, channel=4 )
show_hudmessage(id, "")
set_hudmessage ( red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2, channel=4 ) - reprezinta setarile, adica pozitia , culoarea si timpul de afisare.
show_hudmessage(id, "") -  aici va fi afisat mesajul vostru. Puteti pune mai multe de astea pentru mai multe hud-uri.
 
 
 
unde este cu rosu ester culoare.
255 0 0 - este culoare rosie
cea max este alba adica 255 255 255.
 
 
- unde este rosu este gen x,y pozitia lui.
 
 
 
- reprezinta efectele hud-ului:
0 = fade in/fade out
1 = flickery credits
2 = write out (training room) 
 
ex.
 
 
- Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2, channel=4  reprezinta setarile care se fac afisarea efectului.
Mai multe detali intrati aici: http://www.amxmodx.o...p?go=func&id=28
 
Note: show_hudmessage(id, "") Daca folositi asa cu id atunci nu va afisat la toti jucatori puneti 0 in loc de id :)
ex.

#include <amxmodx>
#include <amxmisc>
 
#define PLUGIN "Mesaj"
#define VERSION "1.0"
#define AUTHOR "FireW@ll"
 
 
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
set_task(30.0,"mesaj",0,_,_,_,0)
}
 
public mesaj(){
set_hudmessage(255, 0, 0, 0.33, 0.27, 0, 6.0, 12.0)
show_hudmessage(0, "Afisare mesaj")
}
 
Dupa 30 de sec va fi afisat un mesaj hud.
Have Fun :P

b_560_95_1.png





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users