Jump to content

WhoAmI

Members
  • Posts

    1,248
  • Joined

  • Last visited

Everything posted by WhoAmI

  1. Na tym moja pomoc się kończy. XML nigdy nie używałem i wątpię, że kiedykolwiek używać będę.
  2. With setElementData.
  3. Well, set data to this marker with dealer's nick or something, and then check if the player who wants stop sell is the right man.
  4. Oh, thanks. You're welcome.
  5. Giving money clientside won't work. It would be money only for him, you can't see it. It's better to do all this thing serverside.
  6. So add if: if ( VehID ) then Then it would return int, or false.
  7. It's pointless to check if the variable is number, when you converted it to number before.
  8. But remember to create vehicles only serverside.
  9. Nie jestem pewien ale to local PojazdRootNode = xmlFindChild (PojazdHeadRootNode,"auta",tonumber(idPojazdu)) Wyszukuje wpis ostatni, bo nadajesz mu index funkcją pobierającą wszystkie auta.
  10. Poproszę zawartość a raczej strukturę pliku XML.
  11. What exactly doesn't work? Any errors in debugscript 3?
  12. Or you mean custom blips? There are few topic about it. viewtopic.php?f=91&t=72233&p=669382&hilit=radar+blips#p669382 viewtopic.php?f=91&t=71784&p=668760&hilit=radar+blips#p668760 viewtopic.php?f=91&t=72149&p=668652&hilit=radar+blips#p668652
  13. You mean this yellow truck? It's normal blip createBlip Id nubmer 12.
  14. Potrzebuje błędów wyświetlanych w debugu.
  15. To daj mi zawartość server.lua.
  16. Podaj mi co jest w debugu i czy przerabiałeś jakoś skrypt? function toggleFreezeStatus ( thePlayer ) local account = getPlayerAccount ( thePlayer ) if ( not isGuestAccount ( account ) ) then local accountName = getAccountName ( account ) if ( isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Pd" ) ) then if ( isPedInVehicle ( thePlayer ) ) then local vehicle = getPedOccupiedVehicle ( thePlayer ) setElementFrozen ( vehicle, not isElementFrozen ( vehicle ) ) end end end end addCommandHandler ( "reczny", toggleFreezeStatus )
  17. Nie mają prawa znikać, bo u mnie działało. Masz plik w folderze zasobu 'vehicles.db'?
  18. Zrób swój skrypt, może działać w ten sposób np. - PD wchodzi do auta, wpisuje komendę - samochód zostaje odmrożony funckją setElementFrozen - PD zawozi na baze, wpisuje ponownie komende freezując samochód setElementFrozen Pozdrawiam.
  19. Ja bym Ci radził zrobić to pod SQL. Głównie to będzie się opierać na funkcjach SQL. Za 30zł mógłbym by Ci to zrobić. dbConnect dbQuery dbExec setElementData addCommandHandler
  20. "width: The width of the image in GTA world units. (This is 1/75th of the width used in dxDrawLine3D) height: The height of the image in GTA world units. (This is 1/75th of the width used in dxDrawLine3D) " It isn't pixels. It's world units.
  21. WhoAmI

    save car player

    And again. Nobody is able to understand you because you are using google translate which is pointless. Write in Polish section, and I'd understand you there.
  22. There is a function. Just look for it in wiki.
  23. WhoAmI

    Gridlist

    Exactly. You're welcome.
×
×
  • Create New...