Raised This Month: $ Target: $400
 0% 

Help me Box


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
fatalerror23
Member
Join Date: May 2011
Old 09-11-2012 , 19:00   Help me Box
Reply With Quote #1

The police team killed this opening the box say / box
team of police can not open help me

PHP Code:
#include <amxmodx>
#include <cstrike>
#define PLUGIN "EvL.G | Esconde"
#define VERSION "1.0"
#define AUTHOR "Victor # | Gustavo"
new bool:Toggle
public plugin_init()
{
register_plugin(PLUGINVERSIONAUTHOR)
register_clcmd("say /esconde" "CmdMod")
}
public 
CmdModiPlayer )
{
new 
CsTeams:userTeam cs_get_user_teamiPlayer )
if(
userTeam != CS_TEAM_CT)
if (!
is_user_connected(iPlayer) || !is_user_alive(iPlayer)) 
return 
PLUGIN_HANDLED
if(!Toggle)
{
  
server_cmd("sv_gravity 200")
  
server_cmd("amx_lights b")
  
set_hudmessage25500, -1.00.2530.014.01.01.0 )
  
show_hudmessage0"[ EvL.G ] - Esconde Ativado -" )
  
ChatColor(iPlayer"!teamEsconde !gAtivado")
  
ChatColor(iPlayer"!gBy : Gustavo")
  
Toggle true
}
else if(
Toggle)
{
  
server_cmd("sv_gravity 800")
  
server_cmd("amx_lights off")
  
set_hudmessage25500, -1.00.2530.014.01.01.0 )
  
show_hudmessage0"[ EvL.G ] - Esconde Desativado -" )
  
ChatColor(iPlayer"!teamEsconde !gDesativado")
  
ChatColor(iPlayer"!gBy : Gustavo")
  
Toggle false
}
return 
PLUGIN_CONTINUE
}

stock ChatColor(const iPlayer, const input[], any:...)
{
                                                                new 
count 1players[32]
                                                                static 
msg[191]
                                                                
vformat(msg190input3)
                                                                
replace_all(msg190"!g""^4"// Verde
                                                                
replace_all(msg190"!y""^1"// Cor Padrao
                                                                
replace_all(msg190"!team""^3"// Cor do Time
                                                                
replace_all(msg190"!team2""^0"// Cor do time 2
                                                                
if (iPlayerplayers[0] = iPlayer; else get_players(playerscount"ch")
                                                                {
                                                                                                                                for (new 
0counti++)
                                                                                                                                {
                                                                                                                                                                                                if (
is_user_connected(players[i]))
                                                                                                                                                                                                {
                                                                                                                                                                                                                                                                
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players[i])
                                                                                                                                                                                                                                                                
write_byte(players[i]);
                                                                                                                                                                                                                                                                
write_string(msg);
                                                                                                                                                                                                                                                                
message_end();
                                                                                                                                                                                                }
                                                                                                                                }
                                                                }

fatalerror23 is offline
 


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 08:21.


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