Raised This Month: $ Target: $400
 0% 

[Solved] Saving entities


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 06-01-2009 , 10:20   Re: Saving entities
Reply With Quote #7

What do you mean by "it goes bad" ? what happens ?

PHP Code:
stock create_entity_at_origin(szClass[], Float:fOrigin[3])
{
      new 
ent create_entity(szClass)
      
entity_set_origin(entfOrigin)
 
      return 
ent

not tested but should work, returns the entity's index
__________________

Last edited by Hunter-Digital; 06-01-2009 at 10:23.
Hunter-Digital 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 13:51.


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