Reaction System
#1

Hello Guys, i use Ryder's reaction system but i need to make command to start the reaction system like /start [text]
Reply
#2

Call RyderX in pm to add it for you
Reply
#3

Quote:
Originally Posted by PaRking
Посмотреть сообщение
Код:
I have a nice fs do this 
//Reaction Tests By [BP]Tony
 
#include <a_samp>
 
#if !defined Loop
#define Loop(%0,%1) \
        for(new %0 = 0; %0 != %1; %0++)
#endif
 
#if !defined function
#define function%0(%1) \
        forward%0(%1); public%0(%1)
#endif
 
#if !defined PURPLE
#define PURPLE \
    0xBF60FFFF
#endif
 
#if !defined GREEN
#define GREEN \
    0x94D317FF
#endif
 
#if !defined TIME
#define TIME \
    180000
#endif
 
new
        xCharacters[][] =
        {
            "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M",
                "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z",
            "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m",
                "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",
            "0", "1", "2", "3", "4", "5", "6", "7", "8", "9","!",":","'",";",
            "^","%","#","<",">",",",".","/","?","*","@","$","&","(",")"
        },
        xChars[16] = "",
        xReactionTimer,
        xCash,
        xScore,
        bool: xTestBusy
;
 
public OnFilterScriptInit()
{
        xReactionTimer = SetTimer("xReactionTest", TIME, 1);
        return 1;
}
 
public OnFilterScriptExit()
{
        KillTimer(xReactionTimer);
        return 1;
}
 
public OnPlayerText(playerid, text[])
{
        switch(xTestBusy)
        {
            case true:
            {
                        if(!strcmp(xChars, text, false))
                        {
                            new
                                string[128],
                                pName[MAX_PLAYER_NAME]
                                ;
                                GetPlayerName(playerid, pName, sizeof(pName));
                                format(string, sizeof(string), "« \%s\" has won the reaction test. »", pName);
                            SendClientMessageToAll(GREEN, string);
                            format(string, sizeof(string), "« You have earned $%d + %d score points. »", xCash, xScore);
                            SendClientMessage(playerid, GREEN, string);
                            GivePlayerMoney(playerid, xCash);
                                SetPlayerScore(playerid, GetPlayerScore(playerid) + xScore);
                                xReactionTimer = SetTimer("xReactionTest", TIME, 1);
                            xTestBusy = false;
                        }
                }
        }
        return 1;
}
 
function xReactionProgress()
{
    switch(xTestBusy)
        {
            case true:
            {
                    new
                        string[128]
                        ;
                        format(string, sizeof(string), "« No-one won the reaction-test. New one starting in %d minutes. »", (TIME/60000));
                    SendClientMessageToAll(PURPLE, string);
                xReactionTimer = SetTimer("xReactionTest", TIME, 1);
        }
        }
        return 1;
}
 
function xReactionTest()
{
        new
                xLength = (random(8) + 2),
                string[128]
        ;
        xCash = (random(10000) + 20000);
        xScore = (random(2)+1);
        format(xChars, sizeof(xChars), "");
        Loop(x, xLength) format(xChars, sizeof(xChars), "%s%s", xChars, xCharacters[random(sizeof(xCharacters))][0]);
        format(string, sizeof(string), "« Who first types %s wins $%d + %d score points. »", xChars, xCash, xScore);
        SendClientMessageToAll(PURPLE, string);
        KillTimer(xReactionTimer);
        xTestBusy = true;
        SetTimer("xReactionProgress", 30000, 0);
        return 1;
}
What the fuck is that?
what the fuck are you trying to do? copying scripts and pasting them? The fuck , if someone needs help you have to help him, not to copy other releases and Pasting them here! LMAO Stop that cunt are you'll get punished

EDIT: Good you have removed it... try to read forums rules
Reply
#4

i say that is better just
i'm not steal try read scroll up (i have a nice fs for u)
and i put credits
Reply
#5

Quote:
Originally Posted by PaRking
Посмотреть сообщение
i say that is better just
i'm not steal try read scroll up (i have a nice fs for u)
and i put credits
Dude? i didn't meant Stealing i meant that why you are copying other scripts while you can help this person without copying them from your knowledge(if you got) and (if you didn't) just move on and don't reply...
Reply
#6

Bro sorry if i made u angry cuz i say bad about ur scripting

i'm delete it and i say him pm (RyderX) for making cmd for u
Reply
#7

Quote:
Originally Posted by PaRking
Посмотреть сообщение
Bro sorry if i made u angry cuz i say bad about ur scripting

i'm delete it and i say him pm (RyderX) for making cmd for u
1. it's not my own FilterScript, it's RyDeR`'s one so.
2. if you don't care about yourself and your OWN Releases, so i would care about it? im just warning you to stop copying scripts because you'll get banned ..
Reply
#8

I'm not i'm just edit script
Reply
#9

Quote:
Originally Posted by PaRking
Посмотреть сообщение
I'm not i'm just edit script
Without a permission from the owners of these releases.. ok cool
Reply
#10

in thats time you forgot that i need help and i tried to make this command put i failed so i posted here and you just fighting in my post for no reason "RyderX" you can go and report him .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)