Watch
-
Add Favorite
1 out of 1 users claim this version works for them.
Does this version work for you?
Yes
No
More_ES_Commands v1.3
- Version 1.3
posted on 2012-01-31 20:46:28
by stas
Description
Will be useful for those who write scripts for EventScripts, but does not own SourcePawn (must be installed SourceMod). It basically contains only those functions that are not available in EventScripts or performed with difficulty.
Code:
v1.1: --------------------- eSetPlayerTeam <userid> <team 1-3> eGetPlayerLookIndex <userid> <var_index> <var_classname> eGetPlayerWeaponSlot <userid> <slot 0-4> <var_index> [var_classname] eSetPlayerDeaths <userid> <value> eSetPlayerClanTag <userid> <value> eGetPlayerClanTag <var> <userid> eForcePlayerDrop <userid> <weapon_index> eGetPlayerButton <var> <userid> eSetTeamScore <team> <score> eGetTeamScore <var_score> <team> eRotateEntity <entity_index> eTeamColorMsg <userid_author> <msg> [userid] eMysqlConnect <host> <database> <user> <pass> <var_status (1/0)> eMysqlDisConnect eMysqlQuery <QueryString> new event: es_mysql_select [ event_var(select), event_var(fields), event_var(userid) ] eSetWeaponBuyAccess <0/1> [userid] eTerminateRound <seconds> <reason 0-15> v1.2: --------------------- new events: player_drop and es_entity_output eHookEntityOutput <entity_index/entity_classname> <output_string> eUnHookEntityOutput <entity_index/entity_classname> <output_string> v1.3: --------------------- eMutePlayer <userid> <1/0> eGetUseridFromIndex <var> <player_index> eRingEffect <vec_center> <radius_start> <radius_end> <life> <width> <amplitude> "r,g,b,a" [speed] [model_index] [halo_index] eTryPlayerRedirect <userid> <ip> <seconds> eSetCvarNotify <server_var> <1=yes,0=no> eSlapPlayer <userid> <hp> <bool:sound(1/0)>
The archive contains a script 'test_mysql' to test MYSQL (if you want)
More Info:
http://world-source.ru/forum/113
Installation
Unpack and execute RCON command "sm plugins load More_ES_Commands" or just change map
Discussion