Raised This Month: $ Target: $400
 0% 

tank_spawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ttfak12
Junior Member
Join Date: Mar 2016
Old 12-27-2020 , 23:07   Re: tank_spawn
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
Entindex means entity index.

In L4D1/2 usually is a value between 0~2048 (can be negative also).

EntIndex of a Tank will be a value between 1~32, since a tank is considered as a client.

You need the entity index in some functions.

Example:

char classname[64];
GetEntityClassname(entity, classname, sizeof(classname));

Probably if you use GetClientUserId(tankid) you will get the same value as the userid var.
thx
ttfak12 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 04:39.


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