[FilterScript] Simple Filterscript
#1

Hello today i have some important to release as Simple Filterscript
so here is the list include inside the Filterscript:

Before that you will need the following:

Zeex's Command Professor (zcmd) - https://sampforum.blast.hk/showthread.php?tid=91354
Y_LESS's Command Professor (sscanf) - https://sampforum.blast.hk/showthread.php?tid=120356
Code:
Players Counting - OnPlayerConnect

/v <vehiclename/id> <color1> <color2>
/setskin <skinid> //if your using 0.3d you can now use unused skin
/getinterior
/playersonline
/pm
/nopm
Sorry i cannot upload the files in mediafire but for now we will use pastebin

heres the link for filterscript

http://pastebin.com/rZ6jGjPB
Reply
#2

Nice
Reply
#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
#4

Quote:
Originally Posted by Nikk123
View Post
Nice
Quote:
Originally Posted by PlayHard
View Post
Oh, thanks a lot man. I am going to use the vehicle spawner .
Thanks dude
Reply
#5

xd command proffesor lol
Reply
#6

Good Job but one question. In what the /playersonline is usefull. You can see the online players by pressing TAB key.
Reply
#7

nice
Reply
#8

Quote:
Originally Posted by Kostas'
View Post
Good Job but one question. In what the /playersonline is usefull. You can see the online players by pressing TAB key.
maybe he likes creating commands or he wants to learn coding what do u know :::P
Reply
#9

Quote:
Originally Posted by Kostas'
View Post
Good Job but one question. In what the /playersonline is usefull. You can see the online players by pressing TAB key.
Uhm dude you can see players online onplayerconnect (but your not include in the count)
in /playersonline your now include

Quote:
Originally Posted by Mr.Fames
View Post
Quote:
Originally Posted by Kostas'
View Post
Good Job but one question. In what the /playersonline is usefull. You can see the online players by pressing TAB key.
maybe he likes creating commands or he wants to learn coding what do u know :::P
Uhm sir my answer is in the top
Reply
#10

Nice work
but when you press Tab It shows all the Players online in the server..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)