Recently a friend asked me if it was possible to add more teams to CS
:S (Something which I had done in previous versions, but not the most recent one), so I whipped up a little plugin to set the player's m_iTeamNum. Once I did that I realized that it would be even easier to just make something that gets/sets almost all of a player's properties..Using it is as simple as typing set_prop_int m_iTeamNum 4 (to set your team number to a previously unused fourth team).Full list of commands:
- prop_set_target //This function sets your prop modification target. Note: it is not checked in ANY way.
It will work on any platform that sourcemod does. Use sm_dump_netprops_xml to create a file that lists all properties.Note: The commands provided by this plugin are NOT admin commands. This plugin should NEVER be run on anything other than a protected test server (as a single mistake could cause a server crash...this is a plugin solely for ease of development!). I may be persuaded to modify them to be admin commands if necessary for use on testing servers. Attached Files Get Plugin or Get Source (proptest.sp - 5.1 KB)
Wyświetl pełny artykuł