View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-01-2012 , 23:33   Re: [EntProps] Array Ent Prop Has No Offset Value?
Reply With Quote #2

the SourceMod documentation for GetEntDataArray implies that the proper way to read this is:
PHP Code:
    new m_Offset FindSendPropOffs("CTFPlayer""player_object_array_element")
    new 
ArrayValue[64]

    
GetEntDataArray1m_OffsetArrayValue641)
    for (new 
i=0<= 63i++)
    {
        
PrintToServer("Array %i Value: %i"iArrayValue[i])
    } 
(note: this is for player index 1)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-01-2012 at 23:35.
Powerlord is offline