Quote:
Originally Posted by Supremache
1. You can use bool:"Player Var"[32] for make this plugin working one time per round.
2. Try to cansel the codes before "RoundStartTime" come, something like:
Code:
register_event("HLTV", "ev_RoundStart", "a", "1=0", "2=0")
public ev_RoundStart()
{
if(!RoundStartTime)
{
remove_task(g_counter)
new iPlayers[32]
new iNum
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
g_iRespawn[iPlayers[i]] = false
}
}
}
|
sill dose not work the hudmessage still show
i want when the round end and start new round the hudmessage will remove
Code:
set_hudmessage( 255, 0, 0, 0.09, 0.0, 1, 0.0, 1.0, 0.0, 0.0, -1)
ShowSyncHudMsg( 0, g_SyncRestartTimer, "%d Sec Remaining To Disable The Respawn Mod", floatround(fSec))