Changes between Version 5 and Version 6 of ShotSnippets
- Timestamp:
- 01/28/26 12:16:46 (3 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ShotSnippets
v5 v6 4 4 CLIENT_COMMAND("playmusic \"%s\" \"%s\"\n", g_SoundTracks[cdtrack], g_SoundTracks[cdtrack2]); 5 5 6 Con_DPrintf(S_WARN "%s will get damage %i\n", pEnt->m_classname, damage); 6 backend/sys/const.h - S_WARN, S_ERROR, TRUE, FALSE, NULL(=nullptr) etc 7 8 // все Shot-команды 9 player.shot CBasePlayer::ClientCommand 10 }}} 11 12 13 {{{ 7 14 // print messages at various developer level 8 15 IMPORT void Con_Printf( string fmt, ... ); // player mode … … 14 21 #define printf Con_Printf 15 22 #define Msg Con_Printf 23 24 Con_DPrintf(S_WARN "%s will get damage %i\n", pEnt->m_classname, damage); 16 25 Msg(S_WARN "UTIL_FindEntitiesInSphere found %i matches\n", result.count()); 17 18 backend/sys/const.h - S_WARN, S_ERROR, TRUE, FALSE, NULL(=nullptr) etc19 20 // все Shot-команды21 player.shot CBasePlayer::ClientCommand22 23 24 26 }}}
