1.
PHP Code:
"1"
{
"classname" "player"
"handle" "1572865"
}
How to get "handle" ? In Eventscripts it's es.getplayerhandle(<userid>)
The only thing I figured out you can get an index of weapon, which keeps the player, then you can learn "handle" to the parameter m_hOwnerEntity. Is there an easier option? I can not find commands.
2. FindEntityByClassname loops through all the indices from 0 to GetEntityCount() ?
--
SourceMod Good, but not enough information and tips on using commands
__________________