# Michcio

Members

84

0 Neutral

• Rank
Transformer

• Location
Poland
1. ## Sprzedam kompletny serwer Truck!

Mefisto bo to stało na moim serwerze.
2. ## Sprzedam kompletny serwer Truck!

Witam. Mam do sprzedania kompletny serwer Truck, czyli: >logowanie >system postaci >system bramek ViaToll >system paliwa (z tankowaniem stacji) >system towarów >restauracje >system domów >system aut prywatnych >monitoring serwera podpinany pod IPB >panele szefów firm >i wiele więcej... Screeny: https://imageshack.com/a/gNnq/1 Oczywiście udzielę pomocy we wgraniu wszystkiego na serwer oraz w ewentualnej edycji skryptów. Więcej informacji pod numerem gadu-gadu: 22508099.
3. ## Help with image width.

Everything okey on relative numbers. Ty!
4. ## Help with image width.

Problem solved! EMPTY!

@REFRESH
6. ## Problem with getting speed from target element.

Problem is here: local car = getPedOccupiedVehicle( target )
7. ## easy help

function cham(thePlayer, cmdName) local Vehicle = getPedOccupiedVehicle(thePlayer) if isPedInVehicle(thePlayer) then local r = math.random(0,255) local g = math.random(0,255) local b = math.random(0,255) outputChatBox(tostring(r)..","..tostring(g)..","..tostring(b)) end end addCommandHandler("cham", cham) EDITED I think you want to choose random color ids?
8. ## Problem with getting speed from target element.

Doesn't work. Problem is not in speed. function getElementSpeed(element,unit) if (unit == nil) then unit = 0 end if (isElement(element)) then local x,y,z = getElementVelocity(element) if (unit=="mph" or unit==1 or unit =='1') then return (x^2 + y^2 + z^2) ^ 0.5 * 100 else return (x^2 + y^2 + z^2) ^ 0.5 * 1.61 * 100 end else outputDebugString("Not an element. Can't get speed") return false end end local scx,scy = guiGetScreenSize() function suszara () local target = getPedTarget(getLo
9. ## Problem with getting speed from target element.

There's no errors in debugscript.
10. ## Problem with getting speed from target element.

My script doesn't work. I can't find mistake in it. local scx,scy = guiGetScreenSize() function suszara () local target = getPedTarget(getLocalPlayer()) local px,py,pz=getElementPosition(getLocalPlayer()) if getPlayerTeam(getLocalPlayer()) == getTeamFromName("Policja") then if target and getElementType(target) == "player" then if target ~= getLocalPlayer() then local x,y,z = getElementPosition(target) local car = getPedOccupiedVehicle( target ) if car then local speed = math.floor(getDistance
11. ## Problem with gridlist

Oh i found mistake. The mistake is 'int'. Topic closed.
12. ## Problem with gridlist

Sorry for spam but I don't know that it will create so much topics. Edit: The problem solved, but I have another problem with MySQL and I don't know why. Debug outputs: [2013-02-15 14:42:16] INFO: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int, dim, wlasciciel, nick, cena, bank, czynsz, ilnaj, koszt) VALUES ('-2665.070' at line 1 local insertid,e = exports.sql:query_insertid( "INSERT INTO domy ( x, y, z, ix, iy, iz, int, dim, wlasciciel, nick, cena, bank, czynsz, ilnaj, koszt) VALUES (" .
13. ## Problem with gridlist

Theres no data in columns 2 - 5. local wnetrza = { -- I don't really use tables [1] = "223.0538482666, 1287.3552246094, 1082.140625, 1, Shitty house 1", [2] = "2233.6594238281, -1114.9837646484, 1050.8828125, 5, Hotel room 1", [3] = "2365.22265625, -1135.5612792969, 1050.8825683594, 8, Modern house 1", [4] = "2282.9401855469, -1140.1246337891, 1050.8984375, 11, Hotel room 2", [5] = "2196.7075195313, -1204.3569335938, 1049.0234375, 6, Modern house 2", [6] = "2270.0834960938, -1210.4854736328, 1047.5625, 10, Modern house 3", [7] = "2308.755859375, -1212.54980
14. ## Some kind of question about repeating some function.

Hi! How can I make that some function repeat every Sunday but once at for example 12 AM? example funtion: function repeat () outputChatBox("Today is sunday!") end
15. ## Get user id from internal.db

Hi! How can i get user id from internal.db? I mean in script.
×

• #### MTA Network

×
• Create New...