Jump to content

Leonard

Administrator
  • Posts

    1,303
  • Joined

  • Last visited

  • Days Won

    53

Everything posted by Leonard

  1. Si la register se aplica cam acelasi cod.
  2. Sincer, nici eu nu stiu, descurca-te.
  3. Hmm, inseamna ca s-au folosit de string-uri pentru a stoca integer-uri. Check this: https://github.com/sercantutar/infint
  4. Nu ai cum, deoarece un integer are o valoare limitata, aceea fiind de 2,147,483,647. Mai multe informatii: https://en.wikipedia.org/wiki/2,147,483,647
  5. Topic inactiv mai mult de 72 ore (3 zile). Locked
  6. Topic inactiv mai mult de 72 ore (3 zile). Locked
  7. Topic inactiv mai mult de 72 ore (3 zile). Locked
  8. Topic inactiv mai mult de 72 ore (3 zile). Locked
  9. Topic inactiv mai mult de 72 ore (3 zile). Locked
  10. Topic inactiv mai mult de 72 ore (3 zile). Locked
  11. Topic inactiv mai mult de 72 ore (3 zile). Locked
  12. Topic inactiv mai mult de 72 ore (3 zile). Locked
  13. Se merita, am vazut filmul in cinema, 3D E blana.
  14. maybe direct in baza de date
  15. Definesti sus in gameode new PlayerText:Speedo[MAX_PLAYERS][3]; Functia propriu zisa + optimizata function Checkvehinfo(playerid) { if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) { if(InRaceArena[playerid] == 1 && !RaceStarted) return true; new engine, lights, alarm, doors, bonnet, boot, objective, string[128]; GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective); if(CarInfo[FindSpawnID(GetPlayerVehicleID(playerid))][cID] != -2 && FindSpawnID(GetPlayerVehicleID(playerid)) != 0 && !IsAPlane(GetPlayerVehicleID(playerid))) { if(!IsABike(GetPlayerVehicleID(playerid)) && !IsAPlane(GetPlayerVehicleID(playerid))) { format(string, sizeof string, "~%s~%d", (Carspeed(playerid) < 99) ? ("g") : ("r"), Carspeed(playerid)); TextDrawSetString(Speedo[playerid][0], string); format(string, sizeof string, "Fuel: ~%s~%d~n~~w~~h~%s~n~Odometer: %0.2f", (Gas[GetPlayerVehicleID(playerid)] > 20) ? ("g") : ("r"), Gas[GetPlayerVehicleID(playerid)], (doors == 1) ? ("Doors: ~r~Locked~w~~h~") : ("Doors: ~g~Unlocked~w~~h~"), CarInfo[FindSpawnID(GetPlayerVehicleID(playerid))][KM]); TextDrawSetString(Speedo[playerid][2], string); } } else { if(!IsABike(GetPlayerVehicleID(playerid)) && !IsAPlane(GetPlayerVehicleID(playerid))) { format(string, sizeof string,, "~%s~%d", (Carspeed(playerid) < 99) ? ("g") : ("r"), Carspeed(playerid)); TextDrawSetString(Speedo[playerid][0], string); format(string, sizeof string,, "Fuel: ~%s~%d", (Gas[GetPlayerVehicleID(playerid)] > 20) ? ("g") : ("r"), Gas[GetPlayerVehicleID(playerid)]); TextDrawSetString(Speedo[playerid][2], string); } } for(new i = 0; i < 3; i++) { PlayerTextDrawShow(playerid, Speedo[playerid][i]); } } return 1; } Cu placere, @@Nigga.
  16. Problema rezolvata. Locked
  17. Versiunea 0.1.1 tocmai a fost postata alturi de cateva videoclipuri cu prezentarea sistemelor.
×
×
  • Create New...