Jump to content

Bober

Members
  • Posts

    32
  • Joined

  • Last visited

About Bober

  • Birthday 16/03/1995

Details

  • Gang
    KoS
  • Location
    Poland

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Bober's Achievements

Rat

Rat (9/54)

0

Reputation

  1. state = true tick = getTickCount () - 5000 function rWheels() if getTickCount () - tick > 5000 then state = not state if state then for _,v in pairs(wheels) do engineRestoreModel(v[2]) end outputChatBox('You chose original car wheels') else replace() outputChatBox('You chose modified car wheels') end tick = getTickCount () end end bindKey ( "F1", "down", rWheels )
  2. function getTeamByID(teamID) return tablica[teamID][1] end Chyba o to chodziło
  3. sprawdz to: if isElement(v) and getElementData(v,"Wiadomosc") then
  4. .. nn = createMarker(2415.6826171875,-1971.349609375,13.41153049469, 2, "cylinder") addEventHandler ("onClientMarkerHit", nn, praca2) createBlip(46,2415,-1971,13) ...
  5. w race_client.lua usuwasz linijke (u mnie 261): showGUIComponents('ranknum', 'ranksuffix')
  6. może jakiś kod byś podał bo czarodziejami nie jesteśmy
  7. Witam, mam takie pytanie czy da się jakoś zabezpieczeń dostęp do web chodzi mi tu o np odczytanie IP użytkownika WEB który się zaloguje, ne chodzi o całkowite zablokowanie ale o stronę, np odczytanie IP użytkownika lub np odrzucić logowanie użytkownika (np z mojego konta). Da się coś takiego zrobić?
  8. check this: function robar ( attacker, attackerweapon, bodypart, loss ) local playerTeam = getPlayerTeam ( source ) if not ( playerTeam ) and(attackerweapon == 0) then givePlayerMoney ( attacker, 15 ) takePlayerMoney ( source, 15 ) outputChatBox ( "-", attacker, 255, 0, 0 ) outputChatBox ( "-", attacker, 255, 0, 0 ) outputChatBox ( "-", source, 255, 0, 0 ) else cancelEvent() end end addEventHandler ("onPlayerDamage", getRootElement(), robar) addCommandHandler("adminrobar",robar)
  9. do addPlayerZombieKills dodaj setElementData(killer,"Zabite Zombie",tonumber(zombieKills)+1)
  10. Zaaktualizuj gamemode na ten najnowszy z google code oraz użyj eventów dodanych tutaj: http://code.google.com/p/mtasa-resource ... ail?r=842#
  11. local curl = curl_init("http://zaplac.to/check_code.php")
  12. Witam, mam dość duży problem z modułem cUrl, dokładniej: https://wiki.multitheftauto.com/wiki/Modules/cURL Moduł po zastosowaniu funkcji: curl_perform, zwaraca błąd: CURLE_COULDNT_RESOLVE_HOST, opis błedu: Couldn't resolve host name. Teraz pytanie, jak to naprawić? ten sam kod (a raczej podobny z uwagi na różne języki programowania (php i lua)) ze strony internetowej, działa, ale z mta zwraca właśnie ten błąd : | Jakieś porady/pomysły?
  13. nie może być tak jak podałeś ponieważ po przecinku jest funkcja której ja nie dałem do postu
×
×
  • Create New...