Looking for some scripts.
#1

Hello guys, im looking for some scripst like :
auto vehicle repair + /fix command
Unlimited nitro
/flip command
tuning menu


Thanks in advance.
Reply
#2

You can make those commands really easily using SA-MP Wiki.
Reply
#3

Use search?
Reply
#4

not helpin'
Reply
#5

up...
Reply
#6

Auto veh repair:
pawn Код:
public OnGameModeInit() {
    SetTimer("RepairVeh", 500, 1);
    return 1;
}
Below that:
pawn Код:
forward RepairVeh();
public RepairVeh() {
    for(new i; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerInAnyVehicle(i))
        {
            new vehicleid = GetPlayerVehicleID(i);
            RepairVehicle(vehicleid);
        }
    }
    return 1;
}
Fix command:
ZCMD
pawn Код:
CMD:fix(playerid, params[])
{
    new vehicleid = GetPlayerVehicleID(playerid);
    RepairVehicle(vehicleid);
    SendClientMessage(playerid, 0xAAAAAA, "Vehicle repaired");
    return 1;
}
Unlimited nitro: make a timer that would put a nitro on a car like every 10 secs
Tuning menu: use search
Reply
#7

Quote:
Originally Posted by Mean
Посмотреть сообщение
Auto veh repair:
pawn Код:
public OnGameModeInit() {
    SetTimer("RepairVeh", 500, 1);
    return 1;
}
Below that:
pawn Код:
forward RepairVeh();
public RepairVeh() {
    for(new i; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerInAnyVehicle(i))
        {
            new vehicleid = GetPlayerVehicleID(i);
            RepairVehicle(vehicleid);
        }
    }
    return 1;
}
Fix command:
ZCMD
pawn Код:
CMD:fix(playerid, params[])
{
    new vehicleid = GetPlayerVehicleID(playerid);
    RepairVehicle(vehicleid);
    SendClientMessage(playerid, 0xAAAAAA, "Vehicle repaired");
    return 1;
}
Unlimited nitro: make a timer that would put a nitro on a car like every 10 secs
Tuning menu: use search
Ty, man!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)