-
Posts
350 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Snow-Man
-
No problem. Yeah, didn't see but you pasted it like this. I mean it's not my error. Cheers, Citizen yes, i know Anyways Thanks
-
thanks Citizen line 32 guiWindowSetSizable(window[1], false)
-
http://pastebin.mtasa.com/204770201
-
use createWeapon attachElements bindKey setWeaponClipAmmo setWeaponState getElementPosition
-
Yes, i have latest Windows updates and antivirus
-
what about other jobs ?
-
during install of vcredist_x86 i got that problem
-
when i installing vcredist_x86.exe i got problem [04D4:0ADC][2014-06-18T17:16:27]: Burn v3.6.3542.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\LinuX\Downloads\vcredist_x86 (1).exe, cmdline: '' [04D4:0ADC][2014-06-18T17:16:27]: Setting string variable 'WixBundleLog' to value 'C:\Users\LinuX\AppData\Local\Temp\dd_vcredist_x86_20140618171627.log' [04D4:0ADC][2014-06-18T17:16:27]: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\LinuX\Downloads\vcredist_x86 (1).exe' [04D4:0ADC][2014-06-18T17:16:27]: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.61030' [04D4:0ADC][2014-06-18T17:16:27]: Detect 2 packages [04D4:0ADC][2014-06-18T17:16:27]: Detected package: vcRuntimeMinimum_x86, state: Absent, cached: None [04D4:0ADC][2014-06-18T17:16:27]: Detected package: vcRuntimeAdditional_x86, state: Absent, cached: None [04D4:0ADC][2014-06-18T17:16:27]: Condition 'VersionNT >= v6.0 OR (VersionNT = v5.1 AND ServicePackLevel >= 2) OR (VersionNT = v5.2 AND ServicePackLevel >= 1)' evaluates to true. [04D4:0ADC][2014-06-18T17:16:27]: Detect complete, result: 0x0 [04D4:0ADC][2014-06-18T17:16:31]: Plan 2 packages, action: Install [04D4:0ADC][2014-06-18T17:16:31]: Condition 'VersionNT > v6.2 OR (VersionNT = v6.2 AND (NTProductType = 1)) OR (VersionNT = v6.2 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND NOT (NTProductType = 1)) OR (VersionNT = v6.1 AND (NTProductType = 1)) OR (VersionNT = v6.1 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND (NTProductType = 1)) OR (VersionNT = v5.1) OR (VersionNT = v5.2 AND NOT (NTProductType = 1)) OR (VersionNT = v5.2 AND (NTProductType = 1))' evaluates to true. [04D4:0ADC][2014-06-18T17:16:31]: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x86' to value 'C:\Users\LinuX\AppData\Local\Temp\dd_vcredist_x86_20140618171627_0_vcRuntimeMinimum_x86_rollback.log' [04D4:0ADC][2014-06-18T17:16:31]: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x86' to value 'C:\Users\LinuX\AppData\Local\Temp\dd_vcredist_x86_20140618171627_0_vcRuntimeMinimum_x86.log' [04D4:0ADC][2014-06-18T17:16:31]: Condition 'VersionNT > v6.2 OR (VersionNT = v6.2 AND (NTProductType = 1)) OR (VersionNT = v6.2 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND NOT (NTProductType = 1)) OR (VersionNT = v6.1 AND (NTProductType = 1)) OR (VersionNT = v6.1 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND (NTProductType = 1)) OR (VersionNT = v5.1) OR (VersionNT = v5.2 AND NOT (NTProductType = 1)) OR (VersionNT = v5.2 AND (NTProductType = 1))' evaluates to true. [04D4:0ADC][2014-06-18T17:16:31]: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x86' to value 'C:\Users\LinuX\AppData\Local\Temp\dd_vcredist_x86_20140618171627_1_vcRuntimeAdditional_x86_rollback.log' [04D4:0ADC][2014-06-18T17:16:31]: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x86' to value 'C:\Users\LinuX\AppData\Local\Temp\dd_vcredist_x86_20140618171627_1_vcRuntimeAdditional_x86.log' [04D4:0ADC][2014-06-18T17:16:31]: Planned package: vcRuntimeMinimum_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register [04D4:0ADC][2014-06-18T17:16:31]: Planned package: vcRuntimeAdditional_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register [04D4:0ADC][2014-06-18T17:16:31]: Plan complete, result: 0x0 [04D4:0ADC][2014-06-18T17:16:31]: Apply begin [0274:0C44][2014-06-18T17:16:35]: Creating a system restore point. [0274:0C44][2014-06-18T17:16:49]: Created a system restore point. [0274:0C44][2014-06-18T17:16:49]: Caching bundle from: 'C:\Users\LinuX\AppData\Local\Temp\{33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}\.be\vcredist_x86.exe' to: 'C:\ProgramData\Package Cache\{33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}\vcredist_x86.exe' [0274:0C44][2014-06-18T17:16:49]: Registering bundle dependency provider: {33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}, version: 11.0.61030.0 [04D4:0C58][2014-06-18T17:16:49]: Acquiring container: WixAttachedContainer, copy from: C:\Users\LinuX\Downloads\vcredist_x86.exe [04D4:0C58][2014-06-18T17:16:49]: Setting string variable 'WixBundleLastUsedSource' to value 'C:\Users\LinuX\Downloads\' [04D4:0400][2014-06-18T17:16:49]: Error 0x80004005: Failed to extract all files from container. [04D4:0C58][2014-06-18T17:16:49]: Error 0x80004005: Failed to wait for operation complete. [04D4:0C58][2014-06-18T17:16:49]: Error 0x80004005: Failed to open container. [04D4:0C58][2014-06-18T17:16:49]: Error 0x80004005: Failed to open container: WixAttachedContainer. [04D4:0C58][2014-06-18T17:16:49]: Failed to extract payloads from container: WixAttachedContainer to working path: C:\Users\LinuX\AppData\Local\Temp\{33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}\547E9D1608E6BD91F8ACB8098E7267610F239B87, error: 0x80004005. [04D4:0ADC][2014-06-18T17:16:49]: Error 0x80004005: Failed while caching, aborting execution. [0274:0C44][2014-06-18T17:16:49]: Removed bundle dependency provider: {33d1fd90-4274-48a1-9bc1-97e33d9c2d6f} [0274:0C44][2014-06-18T17:16:49]: Removing cached bundle: {33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}, from path: C:\ProgramData\Package Cache\{33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}\ [04D4:0ADC][2014-06-18T17:16:49]: Apply complete, result: 0x80004005, restart: None, ba requested restart: No help?
-
Explain more about your problem you want when player login hud will be visible, if Yes use
-
this is not progress, it's dx text 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 return false end end function Stats ( ) local car = getPedOccupiedVehicle ( localPlayer ) if ( car ) then local newS = getElementSpeed(car, "mph") local speed= getElementSpeed(car, "kph") local newS = math.ceil(newS) local speed = math.ceil(speed) dxDrawText("KPH : "..speed.." / MPH : "..newS, (sizeX-229), (sizeY-70), 1041, 808, tocolor(0, 0, 0, 255), 0.40, "bankgothic", "left", "top", true, true, true, true, false) dxDrawText("KPH : "..speed.." / MPH : "..newS, (sizeX-229), (sizeY-70), 1041, 806, tocolor(0, 0, 0, 255), 0.40, "bankgothic", "left", "top", true, true, true, true, false) dxDrawText("KPH : "..speed.." / MPH : "..newS, (sizeX-229), (sizeY-70), 1039, 808, tocolor(0, 0, 0, 255), 0.40, "bankgothic", "left", "top", true, true, true, true, false) dxDrawText("KPH : "..speed.." / MPH : "..newS, (sizeX-229), (sizeY-70), 1039, 806, tocolor(0, 0, 0, 255), 0.40, "bankgothic", "left", "top", true, true, true, true, false) dxDrawText("KPH : "..speed.." / MPH : "..newS, (sizeX-229), (sizeY-70), 1040, 807, tocolor(255, 255, 255, 255), 0.40, "bankgothic", "left", "top", true, true, true, true, false) end end
-
guiProgressBarSetProgress(progressBar,speed)
-
Happy birthday xxmadexx and Sckatchof i hope you pass a nice day
-
no, why should i set data to Occupation because it already Exist if i do like that Medic Markers won't work and error will be anyone allowed to spawn vehicles in others Markers job
-
the problem at line 22 from copying and pasting and i tried your script its not work help?
-
when i tried to join any server or my server local i got this
-
local Markers = { -- LS Markers {role = "Police Officer", mx=1550.3958740234, my=-1609.7741699219,mz=12.3828125,mr=41,mg=41, mb=247, rz=267.83172607422}, {role = "Police Officer", mx=1578.7170410156,my=-1609.7991943359, mz=12.3828125,mr=41,mg=41, mb=247, rz=178.85244750977}, -- LV Markers {role = "Police Officer", mx=2256.1411132813,my=2444.4133300781,mz=9.8203125,mr=41,mg=41, mb=247, rz=90}, {role = "Police Officer", mx=2256.1884765625,my=2476.5065917969, mz=9.8203125, mr=41,mg=41, mb=247, rz=90}, -- SF Markers {role = "Police Officer", mx=-1593.6441650391, my=652.44372558594,mz=6.1875,mr=41,mg=41, mb=247, rz=0.082412347197533}, {role = "Police Officer", mx=-1616.6040039063,my=651.50634765625,mz=6.1875,mr=41,mg=41, mb=247, rz=0.082412347197533}, -- LS Bus Job {role = "Bus Driver", mx=1098.8491210938,my=-1766.7958984375, mz=12.350924491882, mr=255, mg=216, mb=0, rz=90.146255493164}, } local button = {} local window = {} window[1] = guiCreatewindow[1](370, 277, 305, 402, "UGC ~ Vehicles Spawner", false) guiSetVisible(window[1], false) guiwindow[1]SetSizable(window[1], false) gridlist = guiCreateGridList(9, 63, 282, 268, false, window[1]) Col1 = guiGridListAddColumn(gridlist, "Vehicles", 0.5) Col2 = guiGridListAddColumn(gridlist, "id", 0.5) button[1] = guiCreateButton(10, 350, 113, 22, "Spawn", false, window[1]) guiSetFont(button[1], "default-bold-small") guiSetProperty(button[1], "NormalTextColour", "FFAAAAAA") button[2] = guiCreateButton(178, 350, 113, 22, "Hide", false, window[1]) guiSetFont(button[2], "default-bold-small") guiSetProperty(button[2], "NormalTextColour", "FFAAAAAA") function hit(me) Evehicle = getElementData(source, "vehicles") occupation = getElementData(source, "Occupation") mx, my, mz = getElementPosition(source) if ( Evehicle == "Police Officer" ) and ( occupation == "Police Officer") then guiSetVisible(window[1], true) showCursor(true) end end that all i can post it
-
i told before, window definated, and no errors and all functions definated Correctly, i guess the Problem from element data
-
line from table theTable = { {role = "Police Officer", mx=2256.1411132813,my=2444.4133300781,mz=9.8203125,mr=41,mg=41, mb=247, rz=90}, } no Problem in Server side, the Problem in showing GUI
-
use setTimer and to cancel setTimer use isTimer killTimer
-
i have made a Vehicle Spawner to Police Job, but i have got a problem on Showing GUI to Occupation, i made like this Evehicle = getElementData(source, "vehicles") occupation = getElementData(source, "Occupation") if ( Evehicle == "Police Officer" ) and ( occupation == "Police Officer") then guiSetVisible(window[1], true) showCursor(true) and the Element of Vehicles is definated here local Marker = createMarker(v.mx, v.my, v.mz, "cylinder", 1.5, v.mr, v.mg, v.mb) setElementData(Marker, "vehicles",v.role) no errors thanks for reading
-
i made it, how can i hide default MTA BAN GUI? when i ban myself, after that i tried to join my server again, it display MTA BAN GUI
