View Full Version : Marines v0.8 - Score based by playerid
How would I go about giving an automatic score to a player id or even assigning automatic rank to a playerid?
My intention is to run the server to allow for the returning "pubs" and "fly boys" to start with the rank or have a "god mode" on this mission type.
Jul 6 2009, 02:52
something along the lines of turning this english into script.
#better if done by ID since someone can have the same name
if player name == Bob points = 100
of course if he has over 100 he will login and get 100 so if player <= 50 points player points = 100
Thanks at an attempt of trying, but that isn't what we were trying. It's easy enough to unlock everything to everyone, but we wanted only a select few of returning pubbers and clan members to have an automatic number when the evo is refreshed.
So we have five players that join: John, James, Jimmy, Johnson, and Tyler. Tyler is a clansmember and Jimmy is a normal pubber. For Tyler, I want to give him 200 score just for joining the server, but Jimmy on the other hand I want to give 50 for being a faithful pubber.
This still gives EVO the feature of having a lot of infantry play, but also allows for clan member not to get so discouraged when they come back and their score is gone after an EVO reset.
I've tried player addscore, but I don't know where or how to put it based off of a player's id.
Big Dawg KS
Jul 6 2009, 17:24
I believe ArmA2 has a command to get players' unique player IDs, look at the comref.
Jul 6 2009, 18:16
Very interested in how you do this. Looking to do the same thing.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.