Raised This Month: $ Target: $400
 0% 

How to move an entity without names


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-09-2010 , 22:46   Re: How to move an entity without names
Reply With Quote #1

Okay, I understand now.

All you need to do is just copy the code from say BlockMaker or JediGrab.

Then to check an entity's name, check it's targetname value:
Code:
new szTargetName[ 32 ]; // fakemeta pev( iEntity, pev_targetname, szTargetName, charsmax( szTargetName ) ); // engine entity_get_string( iEntity, EV_SZ_targetname, szTargetName, charsmax( szTargetName ) );
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 03:32.


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