ttt_stocks functions
All callable symbols documented in this include, grouped by declaration type.
Stocks
| Name | Signature |
|---|---|
| auto_exec_config | stock auto_exec_config(const szName[]) { |
| create_icon_origin | stock create_icon_origin(id, Float:origin[3], sprite, scale) // By sontung0 { |
| escape_mysql | stock escape_mysql(string[], len) { |
| find_dead_body_1d | stock find_dead_body_1d(id, array[], count) { |
| find_dead_body_2d | stock find_dead_body_2d(id, array[33][]) { |
| FixedUnsigned16 | stock FixedUnsigned16(Float:value, scale) { |
| get_dat_deadbody | stock get_dat_deadbody(ent, Float:startOrigin[3], Float:endOrigin[3]) { |
| get_weapon_owner | stock get_weapon_owner(ent) return get_pdata_cbase(ent, 41, 4) |
| ham_give_weapon | stock ham_give_weapon(id, weapon[], val = 0) { |
| ham_strip_weapon | stock ham_strip_weapon(id, const weapon[]) { |
| is_dead_body | stock is_dead_body(classname[]) { |
| is_holding_dna_scanner | stock is_holding_dna_scanner(id) { |
| move_grenade | stock move_grenade() { |
| my_register_cvar | stock my_register_cvar(name[], string[], description[], flags = 0, Float:fvalue = 0.0) { |
| normalize | stock normalize(Float:fIn[3], Float:fOut[3], Float:fMul) // By sontung0 { |
| remove_user_shield | stock remove_user_shield(id) { |
| set_attrib_all | stock set_attrib_all(id, msg) { |
| set_attrib_special | stock set_attrib_special(id, msg, special1, special2=-1, special3=-1, special4=-1) { |
| show_weapon | stock show_weapon(id, weapon[]) { |
| strip_weapons | stock strip_weapons(id) { |
| te_sprite | stock te_sprite(id, Float:origin[3], sprite, scale) // By sontung0 { |
| ttt_find_valid_killer | stock ttt_find_valid_killer(victim, killer) { |
| ttt_get_alivestate | stock ttt_get_alivestate(id) { |
| ttt_get_gamemode | stock ttt_get_gamemode() return ttt_get_globalinfo(GI_GAMEMODE) |
| ttt_get_kill_message | stock ttt_get_kill_message(victim, killer, message[], len, type=0) { |
| ttt_get_playerstate | stock ttt_get_playerstate(id) return ttt_get_playerdata(id, PD_PLAYERSTATE) |
| ttt_get_user_name | stock ttt_get_user_name(id, name[], size) { |
| ttt_is_exception | stock ttt_is_exception(victim) { |
| ttt_is_jailmap | stock ttt_is_jailmap() { |
| ttt_log_api_error | stock ttt_log_api_error(text[], plugin, params, any:...) { |
| ttt_log_to_file | stock ttt_log_to_file(type, text[], any:...) { |
| ttt_make_deathmsg | stock ttt_make_deathmsg(killer, victim, headshot, const weapon[], flags) { |
| ttt_return_check | stock ttt_return_check(id) { |
| ttt_state_special | stock ttt_state_special(player_state) { |