Raised This Month: $ Target: $400
 0% 

How to detect player changeteam or model?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 06-05-2023 , 19:48   Re: How to detect player changeteam or model?
Reply With Quote #8

Quote:
Originally Posted by MrPickles View Post
which is the forward?
this triggers whenever someone changes team
Code:
#include <amxmodx> public plugin_init() {     register_plugin("Join Team Message", "0.2", "connorr")     register_logevent("JoinTeam", 3, "1=joined team") } public JoinTeam() {     new loguser[80], name[32]     read_logargv(0, loguser, 79)     parse_loguser(loguser, name, 31)     new id = get_user_index(name)    if( is_user_bot(id) && is_user_hltv(id))         return     new temp[2]     read_logargv(2, temp, 1)     switch(temp[0]){         case "U": ; // 0         case "T": ; // 1         case "C": ; // 2         case "S": ; // 3     } }
__________________
bigdaddy424 is offline
 



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 23:51.


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