Raised This Month: $7 Target: $400
 1% 

[REQ] mp_flashlight


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chikizo
BANNED
Join Date: Feb 2014
Location: Morocco
Old 02-12-2014 , 18:28   [REQ] mp_flashlight
Reply With Quote #1

Please I want a plugin to Team He terrorist:
mp_flashlight "0"
But counter-terrorist:
mp_flashlight "1"
Chikizo is offline
Send a message via Skype™ to Chikizo
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 02-12-2014 , 20:47   Re: [REQ] mp_flashlight
Reply With Quote #2

Quote:
Originally Posted by Chikizo View Post
Please I want a plugin to Team He terrorist:
mp_flashlight "0"
But counter-terrorist:
mp_flashlight "1"
Hi, i launched this: http://forums.alliedmods.net/showthr...25#post2099525


__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-13-2014 , 01:16   Re: [REQ] mp_flashlight
Reply With Quote #3

Better to use following plugin with amxx 1.8.3, but it works with 1.8.2.

PHP Code:
#include < amxmodx >
#include < engine >

#pragma semicolon 1

#define PLUGIN "Teams FlashLight"
#define VERSION "0.0.1"

new mp_flashlight_teams;

public 
plugin_init()
{
    
register_pluginPLUGINVERSION"ConnorMcLeod" );

    
mp_flashlight_teams register_cvar("mp_flashlight_teams""3"); // 0:none (plugin useless mp_flashlight 0 is enough), 1:Ts only, 2:CTs only, 3:All (useless plugin mp_flashlight 1 is enough)

    
register_impulse(100"OnImpulse_100");
}

public 
OnImpulse_100id )
{
    return 
is_user_alive(id) && ~entity_get_int(idEV_INT_effects) & EF_DIMLIGHT && ~get_pcvar_num(mp_flashlight_teams) & get_user_team(id);

__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 02-13-2014 at 01:16.
ConnorMcLeod is offline
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 02-13-2014 , 11:48   Re: [REQ] mp_flashlight
Reply With Quote #4

He is using dproto
UchihaSkills is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-13-2014 , 12:19   Re: [REQ] mp_flashlight
Reply With Quote #5

His request is ok because he is not asking support for something nosteam related.

But the signature is against rules, yes, please remove it.

Also, creating new account in order to evade ban is forbidden, i suspect following previous accounts :

https://forums.alliedmods.net/member.php?u=245672
https://forums.alliedmods.net/member.php?u=245903
https://forums.alliedmods.net/member.php?u=246044
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 02-13-2014 at 12:26.
ConnorMcLeod is offline
Old 02-13-2014, 14:17
joshknifer
This message has been deleted by hornet. Reason: Off topic
Old 02-13-2014, 15:01
ANTICHRISTUS
This message has been deleted by hornet. Reason: Off topic
Old 02-13-2014, 15:03
UchihaSkills
This message has been deleted by hornet. Reason: Off topic
Old 02-13-2014, 16:05
ANTICHRISTUS
This message has been deleted by hornet. Reason: Off topic
Old 02-13-2014, 16:07
UchihaSkills
This message has been deleted by hornet. Reason: Off topic
Old 02-13-2014, 16:12
joshknifer
This message has been deleted by hornet. Reason: Off topic
Old 02-13-2014, 16:14
Chikizo
This message has been deleted by hornet. Reason: Off topic
Old 02-13-2014, 16:27
ANTICHRISTUS
This message has been deleted by hornet. Reason: Off topic
Reply


Thread Tools
Display Modes

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 00:45.


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