AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   register cvar (https://forums.alliedmods.net/showthread.php?t=135911)

totalcsscripting 08-20-2010 20:04

register cvar
 
I have this two lines.

register_event("ResetHUD", "round_start", "be")
register_event("CurWeapon" , "event_CurWeapon" , "be" , "1=1")

Are they necesary? i don't understand what are they for.

drekes 08-20-2010 20:07

Re: register cvar
 
They register certain events, Here is a list with the msgs http://wiki.amxmodx.org/Half-Life_1_Game_Events
And this are the "be", "1=1". That are flags to filter the events. http://www.amxmodx.org/funcwiki.php?...vent&go=search

YamiKaitou 08-20-2010 21:04

Re: register cvar
 
What does your topic title have to do with your post? Please use descriptive topic titles


All times are GMT -4. The time now is 21:54.

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