Subtract Score Events
1 KB, 13 years ago, submitted by
This mod can be very useful for many things. Such as buying things with score.
Example:
onActivate --> Client --> subScore --> [5]
This mod can be very useful for many things. Such as buying things with score.
Example:
onActivate --> Client --> subScore --> [5]
Onactivate>Client>Incscore [-5] so this addon fails...
I don't really work with score events much, so I didn't know.
OnActivate-client-incScore: -5
Nice try, anyway.
This is very useful, you could use this for TDMs when buying weapons, Even mixing the event up with VCE to make a really realistic Buying-Weapon System for DMs an such
player>Addhealth>-5. This is basically useless.
:| What.
activate-score underflow-kill
so that the person dies if he does not have the points
You just need to put in the negative sign and it decreases it
onActivate - Client - IncScore [-5]
If I want to subtract 5 points I would just put
AddScore: -5
onActivate>client>Subscore
onActivate>client>additem>gun
That cant work because they will still be able to get the item whether they have the money or not. you need something like
onActivate>Client>Subscore
onSS(Sub Score)sucess>player>additem
onSSdenied>client>centerprint>You need money for this!
its not the DUMBEST add on ever made, there are thousands of dumber ones, just look up evil face, that a bad one
OnActivate>Client>Incscore [-5] or whatever point value.
On activate----> client ----> if score lower/if score higher
If variable true ----> player ----> add item gun
Onactive ==> self ==> VCE_retrocheck ==> IfClientScore >= 15
Onvariabletrue ==> player ==> additem ==> Gun
Onvariablefalse ==> client ==> centerprint ==> You don't have enught points!
Aaand yes this could be done with incscore ==> -5
Just kidding,but,this mod is unuseful,you can just do,well,like everybody says :P