SC_AngelScript icon indicating copy to clipboard operation
SC_AngelScript copied to clipboard

Sven Co-op AngelScript documentation, tutorials, sample code and tools

Results 47 SC_AngelScript issues
Sort by recently updated
recently updated
newest added

Hook pfnTouch for specific classname

I'd like to do things before or after the actual function is executed - just like AMXX.

**Scripts types:** Both Called when weapon is picked up. The weapon itself and the player picking it up should be passed in. The weapon id can be retrieved using `CBasePlayerWeapon.m_iId`,...

Hook Request

the current way of getting a Unique ID is unreliable: ```cpp string getFixedSteamId(CBasePlayer@ pPlayer) { if(pPlayer is null or !pPlayer.IsConnected()) return ""; string steamId = g_EngineFuncs.GetPlayerAuthId(pPlayer.edict()); if(steamId == 'STEAM_ID_LAN' or...