Szerző Téma: kocsi+obj  (Megtekintve 451 alkalommal)

Nem elérhető scripter01

  • 1035
  • Ex Moderálisan Globális
    • Profil megtekintése
kocsi+obj
« Dátum: 2013. Április 08. - 15:57:52 »
0 Show voters
Sziasztok bocs az ekezetert.
Szoval az a gondom van 11365object a szerveremen meg 117 kocsi a kocsikat mysqlbol az objecteket fsbol tokti be es valamikot szokott olyan lrnni hogy nem tolti be vagy csak az egyikrt tolti be :( pls help
Elore is koszi

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
kocsi+obj
« Válasz #1 Dátum: 2013. Április 08. - 16:52:05 »
0 Show voters
valami kód?  :unsure:

Nem elérhető scripter01

  • 1035
  • Ex Moderálisan Globális
    • Profil megtekintése
kocsi+obj
« Válasz #2 Dátum: 2013. Április 08. - 19:28:38 »
0 Show voters
Ezt hogy erted ZyZu?

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
kocsi+obj
« Válasz #3 Dátum: 2013. Április 08. - 19:44:15 »
0 Show voters
kód gondolom tudod mi a kód(függvény) nem?  :o esetleg a betöltést másold be  :facepalm:

Nem elérhető scripter01

  • 1035
  • Ex Moderálisan Globális
    • Profil megtekintése
kocsi+obj
« Válasz #4 Dátum: 2013. Április 08. - 20:45:49 »
0 Show voters
Igen van! több is!
parancs is van rá!
PARANCS:
 
COMMAND:objectek(playerid, params[]) {
if(Admin(playerid, 4) || IsRconKarakter(playerid)) {
    DestroyAllDynamicObjects();
   SendRconCommand(\"unloadfs objectek\");
   SetTimerEx(\"ObjectekBetoltese\", 1000, 0,\"d\",playerid);
   UZENET(playerid,\"SL-RP: Objectek betöltve!\");
}
else {
UZENET(playerid,\"\"COL_VKEK\"SL-RP: \"COL_SZURKE\"Nem használhatod ezt a parancsot!\");
}
return true;
}

 
Hozzá a Funkció!
 
FUNCTION:ObjectekBetoltese(playerid) {
SendRconCommand(\"loadfs objectek\");
ObjectBetoltes();
return true;
}

 
Public:
 
public ObjectOff(playerid)
{
SetPlayerHealth(playerid, asd123);
TogglePlayerControllable(playerid, true);
new string[255];
format(string, sizeof(string), \"~g~Objectek ~b~Betöltve~w~!\");
GameTextForPlayer(playerid, string, 1000, 5);
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
return true;
}

 
FS:
 
SendRconCommand(\"loadfs Objectek\");

 
EZEK MIND A MÓDBA VANNAK!

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal