Raised This Month: $ Target: $400
 0% 

How to detect player changeteam or model?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MrPickles
Senior Member
Join Date: Aug 2022
Location: Colombia
Old 06-06-2023 , 17:03   Re: How to detect player changeteam or model?
Reply With Quote #1

Quote:
Originally Posted by bigdaddy424 View Post
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     } }
Yes I know, but isn't there a more exact forward that detects the change from a model to a player?
MrPickles 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 23:51.


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