Raised This Month: $ Target: $400
 0% 

[EDIT] Team Changer


Post New Thread Reply   
 
Thread Tools Display Modes
Old 05-15-2012, 11:10
TRUE RED
This message has been deleted by TRUE RED.
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 05-15-2012 , 11:43   Re: [EDIT] Team Changer
Reply With Quote #2

Post in suggestion / requests
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
TRUE RED
Senior Member
Join Date: Mar 2012
Location: Ukraine
Old 05-15-2012 , 12:14   Re: [EDIT] Team Changer
Reply With Quote #3

I don't like you, Bilal Pro!
TRUE RED is offline
Send a message via ICQ to TRUE RED Send a message via Skype™ to TRUE RED
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 05-15-2012 , 14:43   Re: [EDIT] Team Changer
Reply With Quote #4

Quote:
Originally Posted by TRUE RED View Post
I don't like you, Bilal Pro!
thats because he kept doing the same thing , anyways ... he posts his code's without testing them
EpicMonkey is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 05-15-2012 , 15:11   Re: [EDIT] Team Changer
Reply With Quote #5

wtf dude, why should i test if i know what i did. he asked for a simple plugin which allows him to be a kind of ghost / spec that nobody can see, he didnt even asked for semiclip or whatever.
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 05-15-2012 , 15:17   Re: [EDIT] Team Changer
Reply With Quote #6

Quote:
Originally Posted by Bilal Pro View Post
wtf dude, why should i test if i know what i did. he asked for a simple plugin which allows him to be a kind of ghost / spec that nobody can see, he didnt even asked for semiclip or whatever.
First Post :
Quote:
can someone make the plugin that will transfer ONLY alive player to spec ONLY!
Second Post :
Quote:
Hi, Bilal Pro! i have tested you plugin. when i type /spec i become invisible, and after i choose a team (for example terrorist) i start to play but still stay invisible. also when i'm spectator i'm walking and can pick up weapons then i can kill every player. also i'm walkin but not flying, can you fix all this bugs and make a spectator to fly not walk. thanks
he said when he types /spec he becomes invisible , and when he chooses a team he still stays invisible , and when hes spectating he walks and can pick up weapons and can kill any player ... Its so obvious what he wants ... He wants to go to spec when he types /spec ... , meaning kill the user and set his team to spectator

Last edited by EpicMonkey; 05-15-2012 at 15:18.
EpicMonkey is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 05-15-2012 , 16:25   Re: [EDIT] Team Changer
Reply With Quote #7

Look at his english, how am I supposed to understand that? he could say that he just wanted a plugin like u explained to me
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
TRUE RED
Senior Member
Join Date: Mar 2012
Location: Ukraine
Old 05-15-2012 , 17:08   Re: [EDIT] Team Changer
Reply With Quote #8

you even didn't try to help me so how can you make a complaint about my english?
TRUE RED is offline
Send a message via ICQ to TRUE RED Send a message via Skype™ to TRUE RED
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-22-2012 , 21:12   Re: [EDIT] Team Changer
Reply With Quote #9

Sorry mate forgot to post my answer. Is this what your after?

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

#define m_iPlayerTeam           114 

public plugin_init()
{
    
register_clcmd"say /spec""cmd_Spec" );
}

public 
cmd_Specid )
{
    if( 
is_user_aliveid ) )
    {
        
user_silentkillid );
        
        
set_pdata_intidm_iPlayerTeam);
        
set_pevidpev_deadflagDEAD_DISCARDBODY );
    }
    
    return 
PLUGIN_HANDLED//so players will not see you type this

__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Leon M.
Senior Member
Join Date: Apr 2009
Location: Germany
Old 05-25-2012 , 07:22   Re: [EDIT] Team Changer
Reply With Quote #10

@hornet
Good start, but you need to a bit more.


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

public plugin_init()
{
    
register_clcmd"say /spec""cmd_Spec" );
}

public 
cmd_Specid )
{

    
// Kill user if alive
    
if (is_user_alive(id)) user_silentkill(id)

    
// Save the old team
    
new szTeam[32]
    
get_user_team(idszTeam31)

    
// Set the new team
    
cs_set_user_team(idCS_TEAM_SPECTATOR)
    
cs_reset_user_model(id)
    
    
// Let the engine known (logs are good too e.g. HLStats knows it yet.)
    
new szAuthid[32], szName[32]
    
get_user_authid(idszAuthid31)
    
get_user_name(idszName31)
    
log_message("^"%s<%i><%s><%s>^" joined team ^"SPECTATOR^""szNameget_user_userid(id), szAuthidszTeam)


__________________
  • ZapTic - Paintball (Version 7.1.3 b1303)
  • Your #1 CS Paintball Server since 2008
  • 85.131.163.101:27015
Leon M. is offline
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 00:21.


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