AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   ResetHUD and set_user_maxspeed (https://forums.alliedmods.net/showthread.php?t=29603)

shino 06-08-2006 15:52

ResetHUD and set_user_maxspeed
 
so, if i use set_user_maxspeed on ResetHUD event, i can move in freeze time. how to restrict that?

Basic-Master 06-08-2006 16:23

hook the logevent "Round_Start" and set the players' maxspeed then.

Cheap_Suit 06-08-2006 16:30

Code:
new g_freezetime public plugin_init() {      register_event("HLTV", "Event_NewRound", "a", "1=0", "2=0")     register_logevent("LogEvent_RoundStart", 2, "0=World triggered", "1=Round_Start"). } public Event_NewRound() {     g_freezetime = 1 } public LogEvent_RoundStart() {     g_freezetime = 0 }

Like what Basic-Master said


All times are GMT -4. The time now is 16:26.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.