View Single Post
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 09-19-2020 , 18:43   Re: help register_event
Reply With Quote #3

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         }     } }
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 09-19-2020 at 18:44.
Supremache is offline