[FilterScript] Simple Filterscript
#3

Oh, thanks a lot man. I am going to use the vehicle spawner .

EDIT: For those who have the 2 errors ( IsNumeric and GetVehicleModelIDFromName ) here are the fixes, put them above CMD:v.

pawn Code:
stock GetVehicleModelIDFromName(const vname[])
{
    for(new i=0; i < sizeof(VehicleNames); i++)
    {
        if (strfind(VehicleNames[i], vname, true) != -1) return i + 400;
    }
    return -1;
}
stock IsNumeric(const string[])
{
    for (new i = 0, j = strlen(string); i < j; i++)
    {
        if (string[i] > '9' || string[i] < '0') return 0;
    }
    return 1;
}
Reply


Messages In This Thread
Simple Filterscript - by GAMER_PS2 - 03.12.2011, 03:16
Respuesta: Simple Filterscript - by [Nikk] - 03.12.2011, 05:53
Re: Simple Filterscript - by PlayHard - 03.12.2011, 06:12
Re: Simple Filterscript - by GAMER_PS2 - 03.12.2011, 06:14
Re: Simple Filterscript - by Mr.Fames - 03.12.2011, 06:22
Re: Simple Filterscript - by Kostas' - 03.12.2011, 07:57
Re: Simple Filterscript - by iPeanut - 03.12.2011, 07:59
Re: Simple Filterscript - by Mr.Fames - 03.12.2011, 08:13
Re: Simple Filterscript - by GAMER_PS2 - 03.12.2011, 08:47
Re: Simple Filterscript - by Rudy_ - 03.12.2011, 08:49

Forum Jump:


Users browsing this thread: 4 Guest(s)