I'm just wondering what the following alias could be used for:
alias vcmp.hgetwep !return $gettok($hget(vcmp,players. $+ $1),10,32)
If ya have any ideas let me know please :)
get the weapon id from the weapon a player is currently holding
so var %wep = $vcmp.hgetwep(1)
would put the weapon id of the weapon player id 1 is holding
used for the save weapon feature in rpgdm and various other things ._.
Quote from: bakasan on July 27, 2008, 12:26:52 AM
get the weapon id from the weapon a player is currently holding
so var %wep = $vcmp.hgetwep(1)
would put the weapon id of the weapon player id 1 is holding
used for the save weapon feature in rpgdm and various other things ._.
thx bakasa
n
Quote from: bakasan on July 27, 2008, 12:26:52 AM
get the weapon id from the weapon a player is currently holding
so var %wep = $vcmp.hgetwep(1)
would put the weapon id of the weapon player id 1 is holding
used for the save weapon feature in rpgdm and various other things ._.
Thanks,
That must mean I can save these to a hash table for each player and then reset them once they have finished the Sniper's Mini Game :)