Jump to content

MarkoNFM

Membru
  • Posts

    3
  • Joined

  • Last visited

Everything posted by MarkoNFM

  1. nu merge conexiunea la baza de date, sau care o fi problema ca nu imi apare textdraw de logare, am facut conexiunea la baza de date si am si urcat-o pe host si nu am erori ca sa imi dau seama de la ce poate fi
  2. Eu aici vreau sa o fac ca systemul de jobvehicle este direct cu baza de date tin sa precizez este GM burned case 14: { if(PlayerInfo[playerid][pWantedLevel] != 0) return SCM(playerid, -1, "Nu poti munci la acest job deoarece ai wanted!"); if(!PlayerToPoint(10.0, playerid, -2123.75684, -222.11610, 34.31469)) { SendClientMessage(playerid, COLOR_GREY, "Nu esti la locul unde poti incepe munca. Ti-am pus un checkpoint, du-te la el!"); SetPlayerCheckpointEx(playerid, -2123.75684, -222.11610, 34.31469, 10.0); CP[playerid] = 53; return 1; } if(PlayerInfo[playerid][pCarLic] == 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Ai nevoie de o licenta de condus pentru a putea munci la acest job!"); new rand = random(3); if(rand == 1) SetPlayerCheckpointEx(playerid, 830.0479, -611.8955, 16.3432, 5.0); else if(rand == 2) SetPlayerCheckpointEx(playerid, 820.7677, -612.4786, 16.3432, 5.0); else if(rand == 3) SetPlayerCheckpointEx(playerid, 790.9538, -612.2801, 16.3432, 5.0); else SetPlayerCheckpointEx(playerid, 830.0479, -611.8955, 16.3432, 5.0); CP[playerid] = 172; PlayerTextDrawSetString(playerid, InfosTD, string); SetTimerEx("HideTextdraw", 8000, 0, "%d", playerid); PlayerTextDrawShow(playerid, InfosTD); CarAngle = 319.1513; StartingWork[playerid] = 0; CurseFacute[playerid] = 0; MoneyEarned[playerid] = 0; }
  3. Salut ! Am si eu o problema , am incercat sa fac un job in care atunci cand tastazi comanda /work sa-ti dea vehiculul avariat de exemplu (damage la vehicul 390) si am incercat new veh = GetPlayerVehicleID(playerid); SetVehicleHealth(veh, 380.0); si totusi nu mi-o spawneaza cu avarie, help please !
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.