Jump to content
  • IceGame # Spatiu Publicitar

Despre HUD-uri [amxx]


Barlap

Recommended Posts

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.
This is the hidden content, please
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.
 

set_hudmessage(255, 0, 0, 0.33, 0.27, 0, 6.0, 12.0)
 
unde este cu rosu ester culoare.
255 0 0 - este culoare rosie
cea max este alba adica 255 255 255.
 

set_hudmessage(255, 0, 0, 0.33, 0.27, 0, 6.0, 12.0)
- unde este rosu este gen x,y pozitia lui.
 

set_hudmessage(255, 0, 0, 0.33, 0.27, 0, 6.0, 12.0)
 
- reprezinta efectele hud-ului:
0 = fade in/fade out
1 = flickery credits
2 = write out (training room) 
 
ex.

set_hudmessage ( 200, 100, 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 )
 
- 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:
This is the hidden content, please
 
Note: show_hudmessage(id, "") Daca folositi asa cu id atunci nu va afisat la toti jucatori puneti 0 in loc de id :)
ex.
This is the hidden content, please
 
Dupa 30 de sec va fi afisat un mesaj hud.
Have Fun :P
 
Link to comment
Share on other sites

Please disable AdBlocker in order to help us keeping the forum up and running!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • IceGame # Global Statistics

    11,299 Total Posts
    5,211 Total Topics
    3,978 Total Members
    14 Total Banned
    297 Most Online
    fuxanu
    Newest Member
    fuxanu
    Joined
  • Who's Online   14 Members, 0 Anonymous, 25 Guests (See full list)

  • Parteneri


×
×
  • Create New...

Important Information

By visiting our community, you agree to our Terms of Use.