Jump to content
GIGN Forum

Recommended Posts

Sveiki. Paliidziet luudzu, es gribu uztaisiit sho HUD message, lai tas paraadaas uzreiz bez visaadiem delay un nepazuud, kameer neuzvadi uz citu target, tas ir war3 spectator message, vnk taas peec laika pazuud, bet es gribu taa kaa zm spectator nepazuud nekad, tikai ja tu saac specot citu speleetaaju.

set_hudmessage( 255, 0, 100, 0.60, 0.80, 0, 0.0, fSpecTime, 0.02, 5.0, HUD_SPEC_INFO);
Edited by Podarok
Link to comment
Share on other sites

Lai nodrošinātu, ka HUDs nepazūd ilgu laika posmu, jāizmanto tasks vai jāizveido entity un jāliek think, kā arī ieteicams būtu izmantot ShowSyncHudMsg nevis show_hudmessage. Papildus tam, iespējams, būtu jāpiesaista kāds events, lai kontrolētu specošanu, bet par to neesmu pārliecināts.

Link to comment
Share on other sites

Re kaa izskataas HUD meesaage ZP, vins nezuud, paliidziet izveidot to taadaa pashaa formaataa lai nezuud! Luudzu!

// Show name, health, class, and ammo packs

set_hudmessage(255, 0, 255, HUD_SPECT_X, HUD_SPECT_Y, 0, 6.0, 1.1, 0.0, 0.0, -1)

ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L %s^nHP: %d - %L %s - %L %d", ID_SHOWHUD, "SPECTATING", g_playername[id], pev(id, pev_health), ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[id])

Link to comment
Share on other sites

Iemācies lietot edit pogu. Varēsi tagad priecāties par warn.

set_hudmessage( 255, 0, 100, 0.60, 0.80, 0, 0.0, fSpecTime, 0.02, 5.0, HUD_SPEC_INFO);
5.0 visdrīzākais atbild par laiku. Edited by poxa
Link to comment
Share on other sites

es tak tev iedevu linku:

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 )

holdtime atbild par laiku, tava f-ja tas laikam ir fSpecTime

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...