Szerző Téma: Autofix on/off  (Megtekintve 674 alkalommal)

Autofix on/off
« Dátum: 2014. Június 07. - 13:29:55 »
0 Show voters
Valaki nemtud egy olyan auto fixet amibe van ki be kapcsolás parancs rá?
« Utoljára szerkesztve: 2014. Június 07. - 15:16:36 írta Flash »

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
Autofix on/off
« Válasz #1 Dátum: 2014. Június 07. - 13:58:02 »
0 Show voters
Megírtam neked!
  • Parancsa: /autofix

 
#define FILTERSCRIPT
#include <a_samp>
#include <zcmd>
 
public OnFilterScriptInit() {
SetTimer(\"AutoFix\", 2000, true);
return 1;
}
forward AutoFix();
public AutoFix() {
for(new i; i < MAX_PLAYERS; i++) {
if(!IsPlayerInAnyVehicle(i) || !GetPVarInt(i, \"autorepair\")) continue;
RepairVehicle(GetPlayerVehicleID(i));
SetVehicleHealth(GetPlayerVehicleID(i), 1000.00);
}
return 1;
}
CMD:autorep(playerid) {
SetPVarInt(playerid, \"autorepair\", !GetPVarInt(playerid, \"autorepair\"));
new str[128];
format(str, sizeof(str), \"Autoómata jármû javító %skapcsolva!\", GetPVarInt(playerid, \"autorepair\")?(\"be\"):(\"ki\"));
SendClientMessage(playerid, -1, str);
return 1;
}

Autofix on/off
« Válasz #2 Dátum: 2014. Június 07. - 13:59:36 »
0 Show voters
Kösz!

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
Autofix on/off
« Válasz #3 Dátum: 2014. Június 07. - 14:01:05 »
0 Show voters
[mod]Témát zártam![/mod]

Autofix on/off
« Válasz #4 Dátum: 2014. Június 07. - 13:29:55 »
0 Show voters
Valaki nemtud egy olyan auto fixet amibe van ki be kapcsolás parancs rá?
« Utoljára szerkesztve: 2014. Június 07. - 15:16:36 írta Flash »

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
Autofix on/off
« Válasz #5 Dátum: 2014. Június 07. - 13:58:02 »
0 Show voters
Megírtam neked!
  • Parancsa: /autofix

 
#define FILTERSCRIPT
#include <a_samp>
#include <zcmd>
 
public OnFilterScriptInit() {
SetTimer(\"AutoFix\", 2000, true);
return 1;
}
forward AutoFix();
public AutoFix() {
for(new i; i < MAX_PLAYERS; i++) {
if(!IsPlayerInAnyVehicle(i) || !GetPVarInt(i, \"autorepair\")) continue;
RepairVehicle(GetPlayerVehicleID(i));
SetVehicleHealth(GetPlayerVehicleID(i), 1000.00);
}
return 1;
}
CMD:autorep(playerid) {
SetPVarInt(playerid, \"autorepair\", !GetPVarInt(playerid, \"autorepair\"));
new str[128];
format(str, sizeof(str), \"Autoómata jármû javító %skapcsolva!\", GetPVarInt(playerid, \"autorepair\")?(\"be\"):(\"ki\"));
SendClientMessage(playerid, -1, str);
return 1;
}

Autofix on/off
« Válasz #6 Dátum: 2014. Június 07. - 13:59:36 »
0 Show voters
Kösz!

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
Autofix on/off
« Válasz #7 Dátum: 2014. Június 07. - 14:01:05 »
0 Show voters
[mod]Témát zártam![/mod]

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal