race filterscrip?? , asked.
#1

hello,

i am looking for a good race script but by all the scripts you need to start him....
Have somebody a good filterscript that automatic is and with no admin help and random a race start and if the race Finnish, he a new race random load. with a build thing in game ... and he work in another interiur i think when you join it it is a empty map.

like this ;p :


please help, i give you rep or i can help you ;p

gr pascalboy
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=143764

One of the best.
Reply
#3

If you need a filterscript, go search in the filterscripts section not here, and thanks
Reply
#4

i have this error now:

Код:
C:\Users\pascal\Documents\server\filterscripts\rRace.pwn(50) : error 017: undefined symbol "ret_memcpy"
C:\Users\pascal\Documents\server\filterscripts\rRace.pwn(616) : error 017: undefined symbol "isNumeric"
Reply
#5

Quote:
Originally Posted by pascalboy
Посмотреть сообщение
i have this error now:

Код:
C:\Users\pascal\Documents\server\filterscripts\rRace.pwn(50) : error 017: undefined symbol "ret_memcpy"
C:\Users\pascal\Documents\server\filterscripts\rRace.pwn(616) : error 017: undefined symbol "isNumeric"
pawn Код:
stock IsNumeric(const string[]) //By Jan "DracoBlue" Schьtze (edited by Gabriel "Larcius" Cordes
{
    new length=strlen(string);
    if(length==0)
    {
        return 0;
    }
    for (new i=0; i<length; i++)
    {
        if (!((string[i] <= '9' && string[i] >= '0') || (i==0 && (string[i]=='-' || string[i]=='+'))))
        {
            return false;
        }
    }
    return 0;
}

stock ret_memcpy(source[],index=0,numbytes) {
    new tmp[MAX_STRING];
    new i=0;
    tmp[0]=0;
    if (index>=strlen(source)) return tmp;
    if (numbytes+index>=strlen(source)) numbytes=strlen(source)-index;
    if (numbytes<=0) return tmp;
    for (i=index;i<numbytes+index;i++) {
        tmp[i-index]=source[i];
        if (source[i]==0) return tmp;
    }
    tmp[numbytes]=0;
    return tmp;
}
Reply
#6

how and where can i put this on witch line?
Can you uploud it here please: http://www.solidfiles.com/# a full working .pwn please i am a bad with error's ;p


gr pascal
Reply
#7

Quote:
Originally Posted by pascalboy
Посмотреть сообщение
how and where can i put this on witch line?
Can you uploud it here please: http://www.solidfiles.com/# a full working .pwn please i am a bad with error's ;p


gr pascal
put these at the end of the script
Reply
#8

PAWN is case sensetive
change
pawn Код:
stock IsNumeric(const string[]) //By Jan "DracoBlue" Schьtze (edited by Gabriel "Larcius" Cordes
{
    new length=strlen(string);
    if(length==0)
    {
        return 0;
    }
    for (new i=0; i<length; i++)
    {
        if (!((string[i] <= '9' && string[i] >= '0') || (i==0 && (string[i]=='-' || string[i]=='+'))))
        {
            return false;
        }
    }
    return 0;
}
to
pawn Код:
stock isNumeric(const string[]) //By Jan "DracoBlue" Schьtze (edited by Gabriel "Larcius" Cordes
{
    new length=strlen(string);
    if(length==0)
    {
        return 0;
    }
    for (new i=0; i<length; i++)
    {
        if (!((string[i] <= '9' && string[i] >= '0') || (i==0 && (string[i]=='-' || string[i]=='+'))))
        {
            return false;
        }
    }
    return 0;
}
Reply
#9

thanks its working i going to try it...

[edit] it workis rep+ for you all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)