View Full Version : Any way to check player score?
Im currently trying to produce a mod that requires the player's score. I have already searched the forums and to no avail have found my answer. I am wondering how do I check the player's score when writing the code for my PK3 file?
Thanks in advance,
-Lula
Anyone know anyway to check the player's score through the code?
Could i please get this moved to the file section as well?
Thank you.
Hammer
02-09-2004, 09:38 PM
The player's score is kept within differently depending on the gametype being run. For example, TDM keeps a player's kills and death in player.score and player.deaths, respectively. The SD/RE scripts to it a little differently. Check them out for additional information (particularly the PlayerKilled callback function). Team scores are kept internally by the game, but can be read/set via functions (getTeamScore/setTeamScore).
Thank you very much. Also is it possible to send a discconect command to a client as a kick does?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.