Make event for vip

Proximity

IDK?
Feb 13, 2014
673
56
How do I make a navicat mysql event to give 175 credits to ranks 3-5 so it updates.. etc this is phoenix emu
 
BUMP no one be helping me for SHIT
 

Donnyschr

Member
Sep 13, 2014
73
10
That's C# related, i think like just copy the little script that is giving users credits on a hour, and make them like rank 2/3/4 whatever your VIP rank is.
 

Divide

Member
Jul 13, 2013
45
11
I never knew you people at DevBest could be so retarded. ( aimed towards @Donnyschr and @Wickd )

@ProjectAssassin here's a tutorial for you.
1. Click on 'Event' at the top (open a database first):
Aw6Bzdf.png

2. Click 'New Event':
6eXff2b.png

3. In the 'Definition' tab put the following:
Code:
UPDATE users SET credits = credits + 175 WHERE rank >= 3 AND rank <= 5
V1CJKpy.png

4. In the 'Schedule' tab press the '+ INTERVAL' and set when you want to give 175 credits to rank 3-5.
VSZQli1.png

5. Press Save.


If this error comes up:
3duGqMT.png


Please run the following query if this error occurs.
Code:
SET GLOBAL event_scheduler = ON;
SET @@global.event_scheduler = ON;
SET GLOBAL event_scheduler = 1;
SET @@global.event_scheduler = 1;
 

Wickd

The first member of the Knights of the Pink Table
Jan 15, 2013
1,936
612
I never knew you people at DevBest could be so retarded. ( aimed towards @Donnyschr and @Wickd )

@ProjectAssassin here's a tutorial for you.
1. Click on 'Event' at the top (open a database first):
Aw6Bzdf.png

2. Click 'New Event':
6eXff2b.png

3. In the 'Definition' tab put the following:
Code:
UPDATE users SET credits = credits + 175 WHERE rank >= 3 AND rank <= 5
V1CJKpy.png

4. In the 'Schedule' tab press the '+ INTERVAL' and set when you want to give 175 credits to rank 3-5.
VSZQli1.png

5. Press Save.


If this error comes up:
3duGqMT.png


Please run the following query if this error occurs.
Code:
SET GLOBAL event_scheduler = ON;
SET @@global.event_scheduler = ON;
SET GLOBAL event_scheduler = 1;
SET @@global.event_scheduler = 1;
Woah pal
 

Users who are viewing this thread

Top