I need some help with scripting. -
[NOR]John - 01.01.2012
Hey. I could need some help with some scripting. I am currently making a trucking server, but there is some things I dont figure out how to make;
- When people finish a mission, they don't get any score. I could need help with this.
- Making text on the screen, like: ''Currently hauling....''
- Making colors on players. Like truckers orange, police blue etc.
If someone could help me, I would be very thankful.
Re: I need some help with scripting. -
Face9000 - 01.01.2012
- When people finish a mission, they don't get any score. I could need help with this. - Paste your mission code.
- Making text on the screen, like: ''Currently hauling....'' - Hauling what?
- Making colors on players. Like truckers orange, police blue etc. - It's a simple player color team,just use OnPlayerSpawn.
Re: I need some help with scripting. -
[NOR]John - 01.01.2012
Missions codes
true, 250, 1701.9475,940.5465,10.8203, 1496.2524,772.1427,10.8203},
true, 500, 1701.9475,940.5465,10.8203, 1727.6351,1812.1750,10.8203},
true, 9000, 2777.9772949219, -2455.0886230469, 13.285285949707, -1875.4030761719, -1688.1228027344, 21.399225234985},
true, 5000, 1594.1290283203, 724.00372314453, 10.469537734985, 134.54122924805, 1945.7899169922, 19.001808166504},
true, 7500, 1723.5736083984, 979.20190429688, 10.469537734985, -2129.4470214844, -84.854187011719, 34.969539642334},
true, 8000, 2777.7497558594, -2417.4836425781, 13.285341262817, 377.30389404297, 2534.0485839844, 16.250215530396},
true, 6500, 134.54122924805, 1945.7899169922, 19.001808166504, -493.13043212891, -514.57434082031, 25.167068481445},
true, 8000, -493.13043212891, -514.57434082031, 25.167068481445, 1627.9038085938, 1611.8803710938, 20.285793304443},
true, 7000, -83.956573486328, -1126.0145263672, 0.73391342163086, -1447.4144287109, -437.23773193359, 5.5075283050537},
true, 8500, 377.30389404297, 2534.0485839844, 16.250215530396, -1447.4144287109, -437.23773193359, 5.5075283050537}
Re: I need some help with scripting. -
[NOR]John - 01.01.2012
Quote:
Originally Posted by Logitech90
Hauling what?
|
What you currently are hauling. Like it shows on the bottom of the screen for example "Currently hauling water from LS Docks to LV Construction Site" ..
Re: I need some help with scripting. -
Face9000 - 01.01.2012
I don't need the mission coordinates,i need the whole code of an example mission.
Re: I need some help with scripting. -
[NOR]John - 01.01.2012
ooh xD sorry.
{"Deliver Holy Water from LVA Freight Depot to LVA Church", true, 250, 1701.9475,940.5465,10.8203, 1496.2524,772.1427,10.8203},
like this?
Re: I need some help with scripting. -
Face9000 - 01.01.2012
A thing for a time,the first question before,please.
The score when someone finish a mission,is there any message that server sends to player when finish a mission?Like "You finished this mission and get +1 score",or something.
Re: I need some help with scripting. -
[NOR]John - 01.01.2012
No, they just get a 1 score without anything saying that they get.
Re: I need some help with scripting. -
Face9000 - 01.01.2012
Quote:
Originally Posted by [NOR]John
No, they just get a 1 score without anything saying that they get.
|
So you want show the message that player has got +1 score?Just use SendClientMessage.
Re: I need some help with scripting. -
[NOR]John - 01.01.2012
No, I do NOT want them to get a message that says ''You just got one score for finish your load''. I just want them to get one score for every mission they finish. And nothing telling them they get the one score.