Author Topic: Event Please? IfVIP  (Read 737 times)

I currently have a VIP Addon that I got custom made, where I can give VIP to players, currently it's just a tag and does nothing, I will attach it to this post so people can look at it. I want an addon with is linked with this one, or you can just edit this one, so that I have an IfVIP Output event, hopefully it will work something like this.

OnPlayerTouch>Self>IfVIP
VariableTrue>Player>(Some VIP Perk here)

All i need is the IfVIP output event which can be checked with the VariableTrue and VariableFalse Input events.
Thanks, refer to attachment I put there for the VIP addon.

Easiest option IMO is to just hook it into VCE rather than make your own event
I forgot how but there's a function you can call that registers it so you can just check <var:client: hasVIPprefix>
« Last Edit: November 11, 2015, 01:46:50 PM by Headcrab Zombie »

Uh

The code you posted already has this?

onPlayerTouch -> Self -> VCE_ifValue <var:cl:isVIP> == 1
onVariableTrue -> Player -> kill

Uh

The code you posted already has this?

onPlayerTouch -> Self -> VCE_ifValue <var:cl:isVIP> == 1
onVariableTrue -> Player -> kill
Yeah I missed that in my first look through it

I haven't done any coding, so I really have no idea how the VCE link works, I know how to use VCE, but how does the addon link with VCE and how can I use it?

I haven't done any coding, so I really have no idea how the VCE link works, I know how to use VCE, but how does the addon link with VCE and how can I use it?
Add the exact events I posted...