Raised This Month: $ Target: $400
 0% 

How to remove last entity (NPC)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 03-20-2011 , 14:58   How to remove last entity (NPC)
Reply With Quote #1

I create some NPCs and I want to remove previous NPC created, but I don't have idea how to do this.

PHP Code:
while( ( iEnt engfuncEngFunc_FindEntityByStringiEnt"classname""npc_bot" ) ) > )
{
    if( 
g_iLastEntCreateiEnt ] ) )
        
remove...

... 
no ideas ...

dFF 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 14:31.


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