Raised This Month: $ Target: $400
 0% 

Help With a plugin Jailbreak


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
sasukebr
Member
Join Date: Feb 2012
Location: Porto Alegre
Old 06-16-2012 , 20:21   Help With a plugin Jailbreak
Reply With Quote #1

[QUOTE]
someone help me with this plugin


#include <amxmodx>
#include <amxmisc>
#include <cstrike>

public plugin_init() {

register_plugin("Player live","1.0","SasukeBR")

public players_hud()
{
if(get_pcvar_num(cvar_showplayers))
{ "cvar_showplayers"}
g_guards = 0;
g_prisoners = 0;
for(new i = 0; i < g_max_clients; i++)
{
new id = i; g_max_clients;

if(is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_CT)
{
g_guards++;
}
else if(is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_T)
{
g_prisoners++;
}
}
set_hudmessage(0, 255, 0, -1.0, 0.01)
show_hudmessage(0,"Prisoners: %i^nGuards: %i", g_guards, g_prisoners)
}
}

Last edited by sasukebr; 06-16-2012 at 20:24.
sasukebr is offline
Send a message via MSN to sasukebr Send a message via Skype™ to sasukebr
 



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 06:19.


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