Example Code: Inbuilt Veteran System [message #204884] |
Thu, 22 June 2006 04:02 |
dead6re
Messages: 602 Registered: September 2003
Karma:
|
Colonel |
|
|
This basically shows you have to make a veteran system built into the scripts.dll. I have based this on SSAOW 1.5. Just replace the chat function and add the various other parts and compile!
You then need to add something like this to all the death areas:
Vehicle/Player
VetUpdate(Get_Player_ID(shooter), GetPoints(Commands->Get_Preset_Name(obj), Commands->Get_Points(shooter));
Building
VetUpdate(Get_Player_ID(shooter), 25, Commands->Get_Points(shooter));
-
Attachment: aow.cpp
(Size: 20.30KB, Downloaded 262 times)
-
Attachment: aow.h
(Size: 0.63KB, Downloaded 184 times)
Let all your wishes be granted except one, so you will still have something to strieve for.
[Updated on: Thu, 22 June 2006 05:22] Report message to a moderator
|
|
|