SA-MP Forums Archive
[FilterScript] Repair vehicle filterscript [My first filterscript] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Repair vehicle filterscript [My first filterscript] (/showthread.php?tid=309671)



Repair vehicle filterscript [My first filterscript] - LennyBE - 08.01.2012

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)


Re: Repair vehicle filterscript [My first filterscript] - BleverCastard - 08.01.2012

You need to provide a Download Link.


Re: Repair vehicle filterscript [My first filterscript] - LennyBE - 08.01.2012

Okay,that i will do later


Re: Repair vehicle filterscript [My first filterscript] - BleverCastard - 08.01.2012

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


Re: Repair vehicle filterscript [My first filterscript] - LennyBE - 08.01.2012

Its added,bro


Re: Repair vehicle filterscript [My first filterscript] - ang12123 - 08.01.2012

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


Re: Repair vehicle filterscript [My first filterscript] - LennyBE - 09.01.2012

No more reply's?..


Re: Repair vehicle filterscript [My first filterscript] - System64 - 09.01.2012

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


Re: Repair vehicle filterscript [My first filterscript] - lamarr007 - 09.01.2012

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


Re: Repair vehicle filterscript [My first filterscript] - Marshall32 - 10.01.2012

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.