Otóż mam problem z hudem.
Chodzi o to , że po strzeleniu gola pojawia sie napis ale doslownie na max 1 sekundę i znika ,a chciałbym żeby było chociaż te 2/3 sekundy.
Po strzelonym golu jest nowa runda wiec moze to jest powodem albo remove_task.
Liczę na jakaś pomoc ![]()
public touchNet(ball, goalpost)
{
remove_task(55555)
new team = get_user_team(ballowner)
new goalent = GoalEnt[team]
if (goalpost != goalent && ballowner > 0) {
new aname[64]
new Float:netOrig[3]
new netOrig2[3]
entity_get_vector(ball, EV_VEC_origin,netOrig)
new l
for(l=0;l<3;l++)
netOrig2[l] = floatround(netOrig[l])
flameWave(netOrig2)
get_user_name(ballowner,aname,63)
new frags = get_user_frags(ballowner)
entity_set_float(ballowner, EV_FL_frags, float(frags + 10))
set_dhudmessage(255, 255, 0, -1.0, 0.30, 0, 6.0, 7.0);
show_dhudmessage(0,"[%s] %s STRZELIL GOLA !!! ",TeamNames[team],aname)
play_wav(0, SCORED_GOAL)
Użytkownik ^^DeeD^^ edytował ten post 14.06.2020 22:19


Dodatki SourceMod













