V
VigilanteP
Guest
I am working on a function to reset the entites at the end of a round and so far it works fine except that it doesnt actually respawn the players, and that is where i am at the moment.
What i am trying to do is to get an instance of the player so that i can change its location, health, ammo etc... How could i do this? I need to know how to get hte isntance of a particular player whose index i found by using the GameResource function isAlive(int i). If he is alive i will need to move him... but i cant seem to find a function to let me access a player.
Is there perhaps a simpler way to do this that i am overlooking?
What i am trying to do is to get an instance of the player so that i can change its location, health, ammo etc... How could i do this? I need to know how to get hte isntance of a particular player whose index i found by using the GameResource function isAlive(int i). If he is alive i will need to move him... but i cant seem to find a function to let me access a player.
Is there perhaps a simpler way to do this that i am overlooking?