This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[CSS] getting entity all keynames and values when entity first spawned


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 10-10-2012 , 13:35   [CSS] getting entity all keynames and values when entity first spawned
Reply With Quote #1

Hello!

Is there someway to check all entity keynames && values when entity first spawn?

So i give some example code how i wanted to do this:
PHP Code:
new entkeycount 0
new String:entkeynames[16][64]
new 
String:entkeyvalues[16][64]

// if entity spawn then this function will be called that many times how many keys entity have.
// so example, entity id 125 is entity what i want.
public entity_spawnentkey[], value[] ) 
{
    if( 
ent == 125 )
    {
         
Copyentkeynames[entkeycount], 63key )
         
Copyentkeyvalues[entkeycount], 63value )
         
entkeycount++
    }

so this way i know full entity keydata when entity first spawns.

PS: if youre giving me some native or forward then please give me example too, im beginner in sourcespawn

Thanks!
.Dare Devil. 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 23:21.


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