Raised This Month: $51 Target: $400
 12% 

Glow Menu only for simon reuqst


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 01-31-2022 , 10:53   Glow Menu only for simon reuqst
Reply With Quote #1

Hello.
Can any body make this glow system work only for Simon:
https://forums.alliedmods.net/showthread.php?t=170660
Mod i use:https://www.mediafire.com/file/7drvv...u/mod.rar/file

Sorry for bad English <3
QuickDroLLL is offline
Old 01-31-2022, 16:01
abdelwahab
This message has been deleted by abdelwahab.
abdelwahab
Member
Join Date: Aug 2019
Old 01-31-2022 , 16:01   Re: Glow Menu only for simon reuqst
Reply With Quote #2

Code:
#include <amxmodx>
#include <amxmisc>
#include <CromChat>
#include <fun>

native jbe_is_user_chief(id);

new target ;

public plugin_init() {
	register_plugin("Simon Glow", "1.0", "OPkiller Gaming")
	register_clcmd("say glow" , "glow_player")
}
public glow_player(id){
	if(!is_user_alive(id)) return PLUGIN_HANDLED;
	if(jbe_is_user_chief(id)){
		new body;
		get_user_aiming(id , target , body)
		if(target){
			show_glow_menu(id)
		}else{
			CC_SendMessage(id , "&x04[Simon Glow]&x01 Error no target found.")
		}
	}else{
		CC_SendMessage(id , "&x04[Simon Glow]&x01 You are not simon.")
		return PLUGIN_HANDLED;
	}
	return PLUGIN_HANDLED;
}
public show_glow_menu(id){
	static  menuid , SzText[100] , tar_name[33];
	get_user_name(target , tar_name , charsmax(tar_name))
	formatex(SzText , charsmax(SzText) , "\y-=| \wGlow Menu \y|=-^n\y-=| \rTarget : \d%s \y|=-`" , tar_name)
	menuid = menu_create(SzText , "glow_menu_handler");
	menu_additem(menuid , "\r-=| \wRed \r|=-" , "1" )
	menu_additem(menuid , "\r-=| \wGreen \r|=-" , "2" )
	menu_additem(menuid , "\r-=| \wBlue \r|=-" , "3" )
	menu_additem(menuid , "\r-=| \wYellow \r|=-" , "4" )
	menu_additem(menuid , "\r-=| \wPurple \r|=-" , "5" )
	menu_additem(menuid , "\r-=| \wWhite\r|=-" , "6" )
	menu_additem(menuid , "\r-=| \wRemove glow \r|=-" , "7" )
	menu_display(id , menuid , 0)
	menu_setprop(menuid , MPROP_EXIT , MEXIT_ALL);
}
public glow_menu_handler(id , menuid , item){
	new sname[33] , tname[33]
	get_user_name(id , sname , charsmax(sname));
	get_user_name(target , tname , charsmax(tname));
	if(item == MENU_EXIT){
		menu_destroy(menuid);
		return PLUGIN_HANDLED;
	}
	if(!is_user_alive(target)){
		CC_SendMessage(id , "&x04[Simon Glow]&x01 Target is dead.")
		return PLUGIN_HANDLED
	}
	switch(item){
		case 0:
		{
			fm_set_rendering(target , kRenderFxGlowShell , 255 , 0 , 0 , kRenderNormal , 16)
			CC_SendMessage(0 , "&x04[Simon Glow]&x01 Simon %s set&x04 red glow&x01 on %s",sname , tname)
		}
		case 1:
		{
			fm_set_rendering(target , kRenderFxGlowShell , 0 , 255 , 0 , kRenderNormal , 16)
			CC_SendMessage(0 , "&x04[Simon Glow]&x01 Simon %s set&x04 green glow&x01 on %s",sname , tname)
		}
		case 2:
		{
			fm_set_rendering(target , kRenderFxGlowShell , 0 , 0 , 255 , kRenderNormal , 16)
			CC_SendMessage(0 , "&x04[Simon Glow]&x01 Simon %s set&x04 blue glow&x01 on %s",sname , tname)
		}
		case 3:
		{
			fm_set_rendering(target , kRenderFxGlowShell , 255 , 255 , 0 , kRenderNormal , 16)
			CC_SendMessage(0 , "&x04[Simon Glow]&x01 Simon %s set&x04 yellow glow&x01 on %s",sname , tname)
		}
		case 4:
		{
			fm_set_rendering(target , kRenderFxGlowShell , 255 , 0 ,255 , kRenderNormal , 16)
			CC_SendMessage(0 , "&x04[Simon Glow]&x01 Simon %s set&x04 purple glow&x01 on %s",sname , tname)
		}
		case 5:
		{
			fm_set_rendering(target , kRenderFxGlowShell , 255 , 255 , 255 , kRenderNormal , 16)
			CC_SendMessage(0 , "&x04[Simon Glow]&x01 Simon %s set&x04 white glow&x01 on %s",sname , tname)
		}
		case 6:
		{
			fm_set_rendering(target);
			CC_SendMessage(0 , "&x04[Simon Glow]&x01 Simon %s&x04 removed glow&x01 from %s",sname , tname)
		}

	}
	return PLUGIN_HANDLED;
}
stock fm_set_rendering(entity, fx = kRenderFxNone, r = 255, g = 255, b = 255, render = kRenderNormal, amount = 16) {
	new Float:RenderColor[3];
	RenderColor[0] = float(r);
	RenderColor[1] = float(g);
	RenderColor[2] = float(b);
	set_pev(entity, pev_renderfx, fx);
	set_pev(entity, pev_rendercolor, RenderColor);
	set_pev(entity, pev_rendermode, render);
	set_pev(entity, pev_renderamt, float(amount));
	return 1;
}
abdelwahab is offline
abdelwahab
Member
Join Date: Aug 2019
Old 01-31-2022 , 16:03   Re: Glow Menu only for simon reuqst
Reply With Quote #3

aim on someone and say glow
abdelwahab is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 01-31-2022 , 17:23   Re: Glow Menu only for simon reuqst
Reply With Quote #4

This has been requested MULTIPLE times before. Search before posting, don't create multiple threads and read the rules.

Search before posting.
Forum Rules

Simon Glow Request #1
Simon Glow Request #2

Those are 2 examples in a short period of just a week.

I'm working on the plugin to get it updated as soon as possible.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 01-31-2022 , 17:27   Re: Glow Menu only for simon reuqst
Reply With Quote #5

Quote:
Originally Posted by Napoleon_be View Post
This has been requested MULTIPLE times before. Search before posting, don't create multiple threads and read the rules.

Search before posting.
Forum Rules

Simon Glow Request #1
Simon Glow Request #2

Those are 2 examples in a short period of just a week.

I'm working on the plugin to get it updated as soon as possible.
Yeah i know but they used diffrent mod
QuickDroLLL is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 01-31-2022 , 17:30   Re: Glow Menu only for simon reuqst
Reply With Quote #6

Quote:
Originally Posted by QuickDroLLL View Post
Yeah i know but they used diffrent mod
Mods shouldn't make a difference as OciXCrom explained before. Most jailbreak mods use a basic native called "is_user_simon" which should make it easy to implent. There's just a small issue that needs fixing which i'm currently waiting on for response.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 01-31-2022 , 17:51   Re: Glow Menu only for simon reuqst
Reply With Quote #7

Quote:
Originally Posted by Napoleon_be View Post
Mods shouldn't make a difference as OciXCrom explained before. Most jailbreak mods use a basic native called "is_user_simon" which should make it easy to implent. There's just a small issue that needs fixing which i'm currently waiting on for response.
ok , Thank you <3
QuickDroLLL is offline
abdelwahab
Member
Join Date: Aug 2019
Old 01-31-2022 , 18:32   Re: Glow Menu only for simon reuqst
Reply With Quote #8

Quote:
Originally Posted by QuickDroLLL View Post
ok , Thank you <3
Try the one i sent
abdelwahab is offline
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 01-31-2022 , 18:53   Re: Glow Menu only for simon reuqst
Reply With Quote #9

Quote:
Originally Posted by abdelwahab View Post
Try the one i sent
i try it
Work Perfectly !
QuickDroLLL is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-01-2022 , 13:55   Re: Glow Menu only for simon reuqst
Reply With Quote #10

Quote:
Originally Posted by Napoleon_be View Post
Mods shouldn't make a difference as OciXCrom explained before. Most jailbreak mods use a basic native called "is_user_simon" which should make it easy to implent. There's just a small issue that needs fixing which i'm currently waiting on for response.
Specifically in this case, the native is different.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode