Jump to content

[FS]AutoRepair v2


Recommended Posts

Posted

-----------------------Viata infinita la masini-------------------------

----------------------GoDCaRHeAlTh-----------------------

-----------------------By FARSE---------------------

Cum sugereaza si numele ai viata infinita la masini

In loc sa te chinui cu "/fix" din 3 in 3 sec bagi FS asta si ai scapat de griji

V2:

Include Text Draw si nu iei chiar atat de repede crash

Download Link

V2

Pastebin

Download RapidShare

download.img.php?f=2207&width=250&height=100&style=blue&display=size

Posted

ii perfect mai ales pt modurile stunt+drift+race.. god job  ;)

Imi aduc aminte cand jucam pe versiunea 0.1.. ala era SA-MP adevarat.

Va salut cu respect (pe cei care merita).

Posted

Mersssssi...las fi portat mai repede dar nam avut cand :(

Offtopic:Mai am de astea:ex:Un stuntpark,romania la munte,si alte chestii

  • 1 month later...
Guest mihai97
Posted

poti sal faci sa mearga sal downloadez? ;D

Posted

Nu are nicio comanda (daca la asta te referi).

Il pui in folderul filterscripts si in server.cfg adaugi numele scriptului, fara .amx

  • 1 month later...
Posted

Iaca am facut versiunea 2  :P

DOWNLOAD:

http://pastebin.com/m4d99945d

  • 2 weeks later...
Guest AlExAlExAlEx
Posted

farse ar fii frumos sa fie comanda nu automat..

  • 2 weeks later...
  • 2 months later...
Guest mihai97
Posted

if(!strcmp(cmd,"/repair",true))
{
     if(IsPlayerConnected(playerid))
     {
         new veh = GetPlayerVehicleID(playerid);
         new Float:health;
         GetVehicleHealth(veh,health);
         if(IsPlayerInAnyVehicle(playerid) && health < 900)
         {
              SetVehicleHealth(veh,1000.0); // float
         }
         else return SendClientMessage(playerid,COLOR_WHITE,"Ai prea multa viata / nu esti intr-o masina.");
     }
     return 5;
}
Cred ca se referea ca atunci cand scrie o comanda sa inceapa timerul.
if(!strcmp(cmd,"/repair",true))
{
if(IsPlayerConnected(playerid))
{
SetTimerEx("AutoRepair",100,true,"d",playerid);
}
return 1;
}
forward AutoRepair(playerid);
public AutoRepair(playerid)
{
if (IsPlayerInAnyVehicle(playerid))
{
new Float:health;
new vehicleid = GetPlayerVehicleID(playerid);
GetVehicleHealth(vehicleid, health);
if (health < 987)
{
SetVehicleHealth(vehicleid,1000);
}
}
}

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.