Soljah Posted December 23, 2007 Author Share Posted December 23, 2007 I've been trying to make a new function that retrieves and sends the amount of Players the player has killed. So far I was thinking this…It would send the Variable, and read the variable, from the Playername.ini, in a Head 'PVP' and Variable, 'Pkilled'.```Function GetPK(ByVal index As Long) As Long GetPK = Player(index).Char(Player(index).CharNum).PkilledEnd FunctionSub SetPK(ByVal index As Long, ByVal Pkilled As Long) Player(index).Char(Player(index).CharNum).Pkilled = PkilledEnd Sub```Having that, I'd be able to use the function such as'Call SetPK(index, 5)_This would make the player have killed 5 people_If GetPK > 5 ThenDo This_This would run a line of code if the amount of players killed is above 5.._* * *But, I was planning on having a custom menu show client side, but with this code on server side I'm not 100% sure on how to load code from server, through the client.Help would be greatly appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now