Raised This Month: $ Target: $400
 0% 

Retrieving an entity id before it's created


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 01-13-2016 , 11:38   Re: Retrieving an entity id before it's created
Reply With Quote #2

It may be predictable with code that simulates what ED_Alloc() engine function does here: https://github.com/dreamstalker/rehl..._edict.cpp#L48
I don't think it's possible to do it from an AMXX plugin though. As far as I know, AMXX doesn't offer any natives that deal with edicts directly, so it probably has to be written within a module.

Why do you even want to predict the id? I don't see how is that useful.
klippy 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 09:26.


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