Sign in to follow this  
Followers 0
Fedzor

VipTimeSystem Help

4 posts in this topic

Alright so i'm not exactly sure where i'm going with this but i think it's a good idea and i think the script looks ok so far, although i'm not sure, i just need a little help and some advice, the plugin is so that you don't have to worry about removing somebody's vip, it will automatically be removed after a 1 month period.

 

//

▒█░░▒█ ▀▀█▀▀ ▒█▀▀▀█ 
░▒█▒█░ ░▒█░░ ░▀▀▀▄▄ 
░░▀▄▀░ ░▒█░░ ▒█▄▄▄█ - Vip Time System
 
Author: Fedzor 
Credit;
zOOm- For coming up with the idea
Geenasis/Revo- For thinking of the name
//
(
 
 
thread vips();
)
(
 
 
thread wait();
)
(
 
 
thread term();
)
(
 
 
thread sequence();
)
(
 
 
thread self();
)
(
 
 
thread time();
)
(
 
 
thread remove();
)
(
 
 
thread add();
)
(
 
 
thread vip();
)
(
 
 
thread find();
)
(
 
 
thread GUID();
(
)
 
 
thread plugin();
)
(
 
 
thread activevips();
)
(
 
 
#Include braxi\_Dvar;
 
 
init()
{
 
 
%CD%\%MODNAME%["plugins"] = enable( level.dvar["plugin"], "vipmenu.gsc" ); //Rename vipmenu.gsc to the name of your vip plugin
)
(
 
 
updatevipinfo() 
(
 
 
self.vip["vips"] = self getvips();
)
(
self.find["GUID"] = self findGUID();
                                                                    )
                                                                      (
if( playervip )
{
appendToGUID( "pb_myguid", level.vipName+ find"&&1" );
level.vip["activevips"] = level.vipName );
game["GUID"] = find( level.dvar["pb_myguid"], ";" );
)
                                                       (
 
 
 
 
 
addVIP()
(
 
 
if game["GUID"] = vip( level.dvar["pb_myguid"], ";" );
 
wait 2,628,000();
 
remove game["GUID"] = vip level.dvar["remove_guid"]. ";" );
)
(
 
 
return all;
)
(
 
 
repeat;
-1

Share this post


Link to post
Share on other sites

This wouldn't work on the raid server as it would load this plugin and wait for a month to remove people...

 

But we reset our servers a fair amount of times so this plugin would just start again from the beginning once we restart..

 

Also, I don't think this is how our VIP's are defined, therefore it would be removing and adding nothing.

0

Share this post


Link to post
Share on other sites

People also buy VIP in bulk, so not just for one month

 

So they'd have to keep adding the same person every month, and could get quite confusing

 

Nice idea though

0

Share this post


Link to post
Share on other sites

wouldn't matter anyway, he's using the wait function to "time" the month. So once the map changes or a round ends and changes, the wait will restart :dumb:

 

If you're making a timed VIP script over days/months, it's better to use python or something more advance like that to setup such system and just use GSC part to make it happen inside CoD4 only. There a reason why GSC is called a "script" language :ph34r:

 

also i see a lot of errors with what you started :dave:

1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  
Followers 0