Howdy folks,

I've been trying to get a specific player name (so I can parent a flag to
their body.)

I can get it working if I'd use
ent_fire flag_ct_base setparent !player

But sadly I can't seem to reproduce it in the code
This is what I've been toying with (as well as any other possible bit of
code, but it's what i have atm):

FlagCarrier <- Entities.FindByClassnameNearest("player",origin,100);

The origin is the origin of the flag model (flag_ct_base)

Any ideas?

Thanks,

Jake Breen
_______________________________________________
Csgo_sdk mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_sdk

Reply via email to