AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Replace these events to fakemeta or hamsandwich (https://forums.alliedmods.net/showthread.php?t=164158)

DSASDFGH 08-07-2011 22:48

Replace these events to fakemeta or hamsandwich
 
PHP Code:

 register_event("TextMsg""Event_GameRestart""a""2=#Game_will_restart_in""2&#Game_C"
 
register_event("SendAudio""Event_RoundEnd""a""2=%!MRAD_terwin""2=%!MRAD_ctwin""2=%!MRAD_rounddraw")  
 
register_logevent("LogEvent_RoundStart"2"0=World triggered""1=Round_Start"

Okay, Here i got these events from UpgradesMod.
I don't wanna using old event....
(I Modified all of old events to FM or YummySandwich)

but i don't know about that events...
anybody can help me?

jim_yang 08-07-2011 23:03

Re: Replace these events to fakemeta or hamsandwich
 
you don't have to focus the optimizations on such things, because even if you don't use the entire event or message system, amxx still hook the forwards of them.
also, the design of amxx event system is good enough on saving cpu.


All times are GMT -4. The time now is 03:27.

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