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_spawn( ent, key[], value[] )
{
if( ent == 125 )
{
Copy( entkeynames[entkeycount], 63, key )
Copy( entkeyvalues[entkeycount], 63, value )
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!