[FilterScript] Repair vehicle filterscript [My first filterscript]
#1

Hey guys,i'm finished with my first filterscript!

I made this with wikis etc..

Hope you like it

NO BAD COMMENTS PLEASE,ITS MY FIRST FILTERSCRIPT!

I compiled it too for you

We only have a few rules

-NEVER edit it wihout my permission.

-Don't say you made it,most credits go to me,others to SAMP wiki xD


Code:
#include <a_samp>
public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print("      Repair Filterscript by Lenny       ");
    print("--------------------------------------\n");
    return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (!strcmp("/repairvehicle", cmdtext))
    {
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "You aren't in a vehicle!");
        RepairVehicle(GetPlayerVehicleID(playerid));
        SendClientMessage(playerid, COLOR_GREEN, "Your vehicle has been repaired!");
        return 1;
    }
}

Megaupload - Download (click)
Reply
#2

You need to provide a Download Link.
Reply
#3

Okay,that i will do later
Reply
#4

This will be removed if you do not put one on.
Reply
#5

Its added,bro
Reply
#6

Nice simple script 4/5 if it's first work =D
Reply
#7

No more reply's?..
Reply
#8

dude it's ok dor you first script but this is not filterscript, 2-3 functions, one command...
Reply
#9

You can include zcmd So, nice first FS 4,9/5.
Reply
#10

You can use maybe DCMD for it or just make the repair function activate when player press a button.
Anyways nice first.
My first is the UnderWater base down there.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)