Thread: Entmodmenu
View Single Post
ABC3Q
Junior Member
Join Date: Mar 2007
Old 11-17-2007 , 00:48   Re: Entmodmenu
Reply With Quote #7

Odly enough this looks like this but you tweaked it a bit.
Using Stupok's work aswell with a combination of both.
Code:
<font face="monospace">/* * Entmod Hand Guide * Version 2.0 * Coded by Vercetti KIndrid & Charming * Copyright © Ion Software, LCC * This script is released under GPL licence */ /* Creates empty variables for each page and its header */ new Entmod_LoadAndSave[1024],loadsaveHeading[128] new Entmod_Render[1024], renderHeading[128] new Entmod_SpawnWeapons[1024], spawnHeading[128] new Entmod_Basic[1024], basicHeading[128] new Entmod_Tricks[1024], trickHeading[128] /* Creates empty variable for the Index page and header */ new ManualList[1024], manualHeading[128] /* Builds functions that create MOTD messages for the pages and display them */ public help_loadsave(id) { format(Entmod_LoadAndSave,255,"How to load and save entities?") format(loadsaveHeading,128,"Entmod Guide - Saving and Loading") add(Entmod_LoadAndSave, 1024, "^n1. Type in console es_start <save name>") add(Entmod_LoadAndSave, 1024, "^n2. Use es_grab when aiming at entities to select them to the saving process") add(Entmod_LoadAndSave, 1024, "^n3. Type es_save <1/0>. If you put 1, the save will follow you on load. If 0, save will stay in its origin") add(Entmod_LoadAndSave, 1024, "^n To load, type es_load <save name>. Use es_list to see the list of save files in the map") show_motd(id,Entmod_LoadAndSave,loadsaveHeading) return PLUGIN_HANDLED } public help_render(id) { format(Entmod_Render,255,"How i use e_render command?") format(renderHeading,128,"Entmod Guide - Rendering") add(Entmod_Render, 1024, "^nThe e_render commands works in this way:") add(Entmod_Render, 1024, "^ne_render <render type> <fx ammount> <render effect> <Render R> <Render G> <Render B>") add(Entmod_Render, 1024, "^nThere are 6 types of render. 0 is none, 1 is color, 2 is texture, 3 is glow, 4 is blending") add(Entmod_Render, 1024, "^n5 is additive. on 99% of the cases, FX Ammount will determine the transparency of the") add(Entmod_Render, 1024, "^nentity, being 0 = invisible and 255 = full visible. Render effect will determine") add(Entmod_Render, 1024, "^neffects such as blinking and fading. There's alot of them, but from 2 to 4, fading, 12") add(Entmod_Render, 1024, "^nis blinking and 8 is on-off.") add(Entmod_Render, 1024, "^nRender RGB determines the red, green and blue color of the entity. These wont work on") add(Entmod_Render, 1024, "^nthe renders None, Texture and Additive.") show_motd(id,Entmod_Render,renderHeading) return PLUGIN_HANDLED } public help_spawn(id) { format(Entmod_SpawnWeapons,255,"How i spawn weapons?") format(spawnHeading,128,"Entmod Guide - Spawning weapons in TS") add(Entmod_SpawnWeapons, 1024, "^nIts very easy to spawn them. Use the command e_add and TS tags") add(Entmod_SpawnWeapons, 1024, "^ne_add ts_groundweapon:origin:%HERE%:tsweaponid:<ID>:wduration:<Respawn Time>:wextraclip:<clips>:spawnflags:<Flags>") add(Entmod_SpawnWeapons, 1024, "^norigin:%HERE% will make the weapon spawn in your position") add(Entmod_SpawnWeapons, 1024, "^non the <ID>, put the weapon id referent to the weapon. You can find a list at TS folder, the file weapons_official.txt") add(Entmod_SpawnWeapons, 1024, "^n<Respawn Time> will define how much time until the weapon respawns after you got it. If set to 0, the weapon wont respawn") add(Entmod_SpawnWeapons, 1024, "^n<clips> will define how many clips exept the 1st magazine ones will be with the weapons. use 9999 to get the maximum") add(Entmod_SpawnWeapons, 1024, "^nThere are 2 <Flags>, 0 will make the gun naked, 8 will make it full, and 16 will make it full at the wall") show_motd(id,Entmod_SpawnWeapons,spawnHeading) return PLUGIN_HANDLED } public help_basic(id) { format(Entmod_Basic,255,"I need help learning entmod!") format(basicHeading,128,"Entmod Guide - Basic") add(Entmod_Basic, 1024, "^nAfter you get ent access, the first command you will use is setinfo") add(Entmod_Basic, 1024, "^nTo login with your Ent Access information, use this command") add(Entmod_Basic, 1024, "^nsetinfo _entpass <PASS>") add(Entmod_Basic, 1024, "^nAsk the admin for your password. Then use weapon_entmover to pull your entmover") add(Entmod_Basic, 1024, "^nPrimary fire will grab and drop a single ent. Secondary fire will delete an ent") add(Entmod_Basic, 1024, "^nIn a few servers, deleting players will crash server, so its recommended that you don't try that") add(Entmod_Basic, 1024, "^nto grab multiple entities, we will use the mm commands") add(Entmod_Basic, 1024, "^nmm_grab grabs one entity to be moved. do that on all entities you want to move") add(Entmod_Basic, 1024, "^nmm_start will start moving the ents you selected. They will follow you as you go") add(Entmod_Basic, 1024, "^nmm_end will stop moving the entities.") add(Entmod_Basic, 1024, "^nAnother command, that you should bind, its +copyent. That will copy the entity your looking at") add(Entmod_Basic, 1024, "^nThere are commands such as e_classname which changes an entity classname and entmod_keyvalue") add(Entmod_Basic, 1024, "^nwhich changes some key values that won't be covered in this manual") add(Entmod_Basic, 1024, "^nAnother important command, bind these: entmod_noclip 1 and entmod_noclip 0. turns noclip on and off") show_motd(id,Entmod_Basic,basicHeading) return PLUGIN_HANDLED } public help_tricks(id) { format(Entmod_Tricks,255,"I wanna learn some useful Tricks") format(trickHeading,128,"Entmod Guide - Tricks") add(Entmod_Tricks, 1024, "^nThis version of the plugin doesn't feature Tricks. Check later for further releases") add(Entmod_Tricks, 1024, "^nhttp://kindrid-dedicated.tk") add(Entmod_Tricks, 1024, "^nhttp://hlrn.net") show_motd(id,Entmod_Tricks,trickHeading) return PLUGIN_HANDLED } public help_list(id) { format(ManualList, 255, "Entmod Guide Index") format(manualHeading,128,"Entmod Guide - Index") add(ManualList, 1024, "^nhelpent_loadsave : Saving and Loading Entities") add(ManualList, 1024, "^nhelpent_render : Rendering and Special Effects") add(ManualList, 1024, "^nhelpent_spawn : Spawning TS weapons with Entmod") add(ManualList, 1024, "^nhelpent_basic : The basics of Entmod") add(ManualList, 1024, "^nhelpent_tricks : Some entmod tricks (Not Finished)") show_motd(id,ManualList,manualHeading) return PLUGIN_HANDLED } /* * Entmod Assistant * Version 1.0 * Coded by Vercetti KIndrid & Charming * Copyright © Ion Software, LCC * This script is released under GPL licence */ /* Define user keys and display the menu */ public menu_display1(id) { new menu[500] new keys = MENU_KEY_0|MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|MENU_KEY_7|MENU_KEY_8|MENU_KEY_9 format(menu,499,"Entmod Assistant:^n^n1. Grab a ent^n2. Move grabbed ents^n3. Stop moving ents^n4. Hide Entmover^n5. Grab something to save^n6. Confirm Saving (static)^n7. Make an entity unbreakable^n8. Locks a door for e_use^n9. Pull your entmover^n0. Exit Menu") show_menu(id, keys, menu) return PLUGIN_CONTINUE } /* Checks which menu button is pressed */ public menu_choice(id, keys) { if (keys == 0) { client_cmd(id,"mm_grab") menu_display1(id) } else if (keys == 1) { client_cmd(id,"mm_start") menu_display1(id) } else if (keys == 2) { client_cmd(id,"mm_end") menu_display1(id) } else if (keys == 3) { client_cmd(id,"lastinv") menu_display1(id) } else if (keys == 4) { client_cmd(id,"es_grab") menu_display1(id) } else if (keys == 5) { client_cmd(id,"es_save 0") menu_display1(id) } else if (keys == 6) { client_cmd(id,"e_god;e_classname func_wall") menu_display1(id) } else if (keys == 7) { client_cmd(id,"entmod_keyvalue name AAA;entmod_keyvalue targetname AAA") menu_display1(id) } else if (keys == 8) { client_cmd(id,"weapon_entmover") menu_display1(id) } } /* Check if admin enabled the plugin with amx_entmod_enable CVAR */ public plugin_checkcvar(id) { if(!get_cvar_num("amx_entmod_enable")) { client_print(id,print_chat,"[Entmod] The admin disabled Entmod User Assistant") return PLUGIN_HANDLED } menu_display1(id) return PLUGIN_CONTINUE } </font>

__________________
| Account has been abandoned |

Last edited by ABC3Q; 11-17-2007 at 00:54.
ABC3Q is offline