12.07.2010, 22:37
(
Last edited by TheInnocentOne; 12/07/2010 at 10:51 PM.
)
In-Game Object Editor
With this filterscript, RCON admins can create, destroy, rotate, and move objects in game!
Toggles
The above code can be changed if you have your own admin system which you would like to use.
This define controls how many objects per-player can be created.
The streamer will use this distance as a the view distance, can be changed if you have issues.
** NOTE ** This script requires Incognito's streamer plugin which is packaged with the download.
Commands
The following commands come with the filterscript for RCON admins (or whatever if you change it):
Since this filterscript uses Incognito's streamer plugin, you will have to install that (comes in the .rar).
1. Place the streamer.dll (or streamer.so for linux) into your plugins folder.
2. Copy the .amx file into your filterscripts folder.
3. If you want to recompile the filterscript, you will need the include in the package as well.
4. Add streamer (or streamer.so for linux) to your server.cfg on the plugins line, and add ObjEdit to your filterscripts line.
Credits
- [03]Garsino - base and showed me how to find free array slots
Download
- v1.0 > http://dl.g-fs.com/ObjEditv1.rar
With this filterscript, RCON admins can create, destroy, rotate, and move objects in game!
Toggles
pawn Code:
#define AdminCheck(%1) IsPlayerAdmin(%1)
pawn Code:
#define MAX_CREATABLE_OBJECTS 50
pawn Code:
#define STREAM_DISTANCE 200
** NOTE ** This script requires Incognito's streamer plugin which is packaged with the download.
Commands
The following commands come with the filterscript for RCON admins (or whatever if you change it):
- /objectcreate <objectid> <rotX> <rotY> <rotZ> (/oc)
- /objectmove <objectid> <direction> <distance> <speed> (/om)
- /objectrotate <objectid> <rotX> <rotY> <rotZ> (/or)
- /objectstop <objectid> (/os)
- /objectdestroy <objectid> (/od)
- /objectdestroyall (/oda)
Since this filterscript uses Incognito's streamer plugin, you will have to install that (comes in the .rar).
1. Place the streamer.dll (or streamer.so for linux) into your plugins folder.
2. Copy the .amx file into your filterscripts folder.
3. If you want to recompile the filterscript, you will need the include in the package as well.
4. Add streamer (or streamer.so for linux) to your server.cfg on the plugins line, and add ObjEdit to your filterscripts line.
Credits
- [03]Garsino - base and showed me how to find free array slots
Download
- v1.0 > http://dl.g-fs.com/ObjEditv1.rar