Raised This Month: $62 Target: $400
 15% 

Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iamf2p
Member
Join Date: Nov 2018
Old 04-14-2019 , 02:49   Help
Reply With Quote #1

public void OnEntityCreated(int entity, const char[] classname){

if(StrEqual(classname, "tf_projectile_pipe")){

int TeamNGr = GetEntProp(entity, Prop_Data, "m_iTeamNum", 4);
int TeamNGr2 = GetEntProp(entity, Prop_Send, "m_iTeamNum", 4);
int TeamNGr3 = GetEntData(entity, FindSendPropInfo("CTFGrenadePipebombProjectil e", "m_iTeamNum"));

PrintToChatAll("Yes Data: %d", TeamNGr); // = 0
PrintToChatAll("Yes Send: %d", TeamNGr2); // = 0
PrintToChatAll("Yes EData: %d", TeamNGr3); // = 0

}

}



WHY 0?
iamf2p is online now
Reply


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 02:39.


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