Looking for some scripts. - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Looking for some scripts. (
/showthread.php?tid=221394)
Looking for some scripts. -
Dumb - 05.02.2011
Hello guys, im looking for some scripst like :
auto vehicle repair + /fix command
Unlimited nitro
/flip command
tuning menu
Thanks in advance.
Re: Looking for some scripts. -
xRyder - 05.02.2011
You can make those commands really easily using
SA-MP Wiki.
Re: Looking for some scripts. -
alpha500delta - 05.02.2011
Use search?
Re: Looking for some scripts. -
Dumb - 05.02.2011
not helpin'
Re: Looking for some scripts. -
Dumb - 05.02.2011
up...
Re: Looking for some scripts. -
Mean - 05.02.2011
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
Re: Looking for some scripts. -
Dumb - 05.02.2011
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!