ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 4969

[GSC] Managed Codelist by envasion

by envasion - 04-20-2017 - 04:45 PM
#1
Managed GSC Codelist
All Custom & Modified Codes/Scripts by envasion


Attention:
The most of this codes/scripts are scripted by myself, if you use them,
please make sure to Credit me or leave a like.


SPRX-Detection:
With this code you get a notification when somebody uses an SPRX-Menu.
Code:
ToggleSPRXD()
{
    if(self.ASX == 0)
    {
        self thread SPRXD();
        self.ASX = 1;
        self thread InfoBox("SPRX Detection ^2 Activated",0.8);
    }
    else
    {
        self notify("StopSPRXD");
        self.ASX = 0;
        self thread InfoBox("SPRX Dectection ^1 Disabled",0.8);
    }

}


SPRXD()
{
    self endon("StopSPRXD");
    for(;;)
    {
    foreach(player in level.players)
        {
        if(player actionslotonebuttonpressed() || player actionslottwobuttonpressed() && player.MenuInit==false)
        {
        self InfoBox("^1WARNING^7:\n" + player.name + " ^1is using an SPRX-Menu!",2);
        player.sprx = "^2Yes";
        wait .01;
        }
        wait 0.01;
        }
    }
}

You need to change InfoBox to iPrintLn("Your Message");



I will add more in the next days, if you want that i script/code something for you, then please send me a Private Message.

Greets

envasion
Reply
#2
pretty cool! nice share
Reply

Users browsing: 1 Guest(s)