I don't find a autofix for vehicles
#4

Quote:
Originally Posted by Xtreme Brotherz
Посмотреть сообщение
Here you go!!
Made by me now(take credits if u want :P);

pawn Код:
new autofix[MAX_PLAYERS];
new autofixtimer;

public OnPlayerConnect(playerid)
{
autofix[playerid]=0;
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/autofix", cmdtext, true, 10) == 0)
    {
        if(autofix[playerid]==1);
                autofixtimer = SetTimer("vehfix", 1000, true);
                else
                KillTimer(autofixtimer);

        return 1;
    }
    return 0;
}

public vehfix(playerid)
{
 RepairVehicle(GetPlayerVehicleID(playerid));
return 1;
}
+rep me if tht helped!!
Quote:
Originally Posted by Scrpting Help Rules
8. Do not post untested code.
That won't even compile.
Reply


Messages In This Thread
I don't find a autofix for vehicles - by JEkvall95 - 28.09.2012, 17:43
Re: I don't find a autofix for vehicles - by zDevon - 28.09.2012, 17:47
Re: I don't find a autofix for vehicles - by Xtreme Brotherz - 28.09.2012, 18:44
Re: I don't find a autofix for vehicles - by zDevon - 28.09.2012, 18:47
Re: I don't find a autofix for vehicles - by JEkvall95 - 28.09.2012, 18:55
Re: I don't find a autofix for vehicles - by JEkvall95 - 28.09.2012, 19:04
Re: I don't find a autofix for vehicles - by Xtreme Brotherz - 28.09.2012, 19:07
Re: I don't find a autofix for vehicles - by stabker - 28.09.2012, 22:27
Re: I don't find a autofix for vehicles - by Beljulji - 29.09.2012, 02:31
Re: I don't find a autofix for vehicles - by OnlyOne - 29.09.2012, 02:59

Forum Jump:


Users browsing this thread: 3 Guest(s)