![]() ![]() onPickup - Native alias that is executed when you pick up an item.onLastMin - Native alias that is executed when the last minute of the current round is reached.onFlag - Native alias that is executed when a flag event occurs.onKill - Native alias that is executed when a player is killed.onVoteEnd - Native alias that is executed when a vote passes or fails.onChangeVote - Native alias that is executed when someone (including yourself) changes a vote.onCallVote - Native alias that is executed when someone (including yourself) calls a vote.do this if watching a demo, do this if editing or in coop-edit mode, do this if connected to a server, etc.) megabind - Bind a key to many different actions depending on the current game state.echo (getmode) // Output: team deathmatch // echo (getmode 1) // Output: TDM) getEngineState - Returns a list of the items that showstats displays.cleanshot - Take a "clean" screenshot with no HUD items.(Works both in singleplayer and multiplayer scenarios.) curplayers - Returns the current number of players.curautoteam - Returns the server's current autoteam state.strins - Returns a string, instered into another string, at position x.strpos - Returns the position of string B in string A, else -1 for not found.substr - Returns a substring from the given string.strlen - Returns the length (in characters) of the given string.(Useful for storing current settings into a buffer, before manipulating them with a script, with the intention of restoring them at a later time.) storesets - Generates an alias (list) of the current values for the given CVARs.rrnd - Returns a ranged random integer.powf - Returns a floating point number raised to the power of another floating point number.inWater - Determines if you are standing or submerged in water.isSpect - Determines if you are in any form of spectating (team, or singleplayer "fly"). ![]()
0 Comments
Leave a Reply. |