-
Posts
1,390 -
Joined
-
Last visited
-
Days Won
1
Everything posted by HunT
-
This is the photoshop project for panel : This idiot edit the color and. . . . no comment. Remove this and ban please. https://community.multitheftauto.com/index.php?p= ... ls&id=3355
-
This idiot download my old panel in community and now stolen client file from my new version. This : https://community.multitheftauto.com/index.php?p= ... ls&id=3355 DAMN Remove please,the original version have other tabs with colorpicker and others.
-
Simon Please edit the resource with XML support. Type : on /deletemap command . . .the script made the name map folder in XML file (for delete the .zip) --[[name maps]]--
-
But getPlayerMoney is for "default" GTA cash. I dont know the race starter but sure u need getElementData or getAccountData. Made the script server side for get money with event onPlayerSpawn and trig client for dx or GUI element.
-
Made the indipendent script with event onPlayerSpawn (server side) and trig client for dx or Gui label.
-
Done and Good Luck.
-
Oh yep . . Epic Map and Nice Deco Gus. I never finish this map Very Hard.
-
Like Looney Toons . . . perfect for "Funny Time"
-
There are 3 FAKE SERVERS. And they are just lame copies. And normally there is another fake server. Elyte Tnx for support but the MTA Team ignore this . . .why ?? IDK Only for info. The server PRO|Race open November 2009.
-
I don't no why everyday i have one msg in pm for this map. it's very old map. St3reo Project v5 06/01/2011 St3reo Project v7 27/03/2011 Download Here http://www.mediafire.com/?lpm1o311bf0397d
-
Sure? Look in [GameModes] / Race / Addons
-
i'm not sure . . .but i look this script in DDC forum from [FOTL]House.
-
Work Perfect (with onPlayerVehicleEnter ) I use this for set the LightColor and wheels :
-
ok tnx for info castillo . . .onPlayerVehicleEnter is perfect
-
oook Tnx SDK . . .later test this event. But why (theVehicle, seat, jacked) And no (theVehicle, color1, color2 etc. . I want know this for next time.
-
ok realy tnx Castillo u save me the rgb stress me i now made the easy script for set the normal black color car "onPlayerJoin" or Login. Tnx Again.
-
OH yep work Tnx Castillo Waiting 1 2 seconds for set the colors . . .But Work. Other Solution for remove the 1 2 seconds without color?
-
Hunterix vs RGB Round 2 Ok the colorPicker is hard for me But i made the normal RGB1 and RGB2 1.gui client botton1 = guiCreateButton(172,192,73,18,"Set ColoR",false,bigWindow) edit1 = guiCreateEdit(39,224,47,18,"",false,bigWindow) edit2 = guiCreateEdit(97,224,47,18,"",false,bigWindow) edit3 = guiCreateEdit(156,224,47,18,"",false,bigWindow) edit4 = guiCreateEdit(216,224,47,18,"",false,bigWindow) edit5 = guiCreateEdit(275,224,47,18,"",false,bigWindow) edit6 = guiCreateEdit(334,224,47,18,"",false,bigWindow) = onClientGUIClick : if (source == botton1) then color1 = guiGetText(edit1) color2 = guiGetText(edit2) color3 = guiGetText(edit3) color4 = guiGetText(edit4) color5 = guiGetText(edit5) color6 = guiGetText(edit6) triggerServerEvent ("SetCarColor", getLocalPlayer(), color1, color2, color3, color4, color5, color6) Trigger Event : function ColorCar ( color1, color2, color3, color4, color5, color6) local playeraccount = getPlayerAccount(source) if playeraccount == "guest" then outputChatBox ( "Register First !", source, 255, 200, 0 ) else setAccountData(playeraccount, "color1", tonumber(color1)) setAccountData(playeraccount, "color2", tonumber(color2)) setAccountData(playeraccount, "color3", tonumber(color3)) setAccountData(playeraccount, "color4", tonumber(color4)) setAccountData(playeraccount, "color5", tonumber(color5)) setAccountData(playeraccount, "color6", tonumber(color6)) local color1 = getAccountData ( playeraccount, "color1" ) local color2 = getAccountData ( playeraccount, "color2" ) local color3 = getAccountData ( playeraccount, "color3" ) local color4 = getAccountData ( playeraccount, "color4" ) local color5 = getAccountData ( playeraccount, "color5" ) local color6 = getAccountData ( playeraccount, "color6" ) playerVehicle = getPedOccupiedVehicle ( source ) setVehicleColor ( playerVehicle, color1, color2, color3, color4, color5, color6) outputChatBox("Car color Changed !",source,255,200,0) end end addEvent( "SetCarColor", true ) addEventHandler ( "SetCarColor", getRootElement(), ColorCar) And This work Perfect. This is internal.db And This is Color : And i made the onPlayerSpawn serverside : function setstats ( playerSource, color1, color2, color3, color4, color5, color6) if ( playerSource ) then playerVehicle = getPlayerOccupiedVehicle ( source ) local account = getPlayerAccount(source) local color1 = getAccountData ( account, "color1" ) local color2 = getAccountData ( account, "color2" ) local color3 = getAccountData ( account, "color3" ) local color4 = getAccountData ( account, "color4" ) local color5 = getAccountData ( account, "color5" ) local color6 = getAccountData ( account, "color6" ) if ( playerVehicle ) then color1, color2, color3, color4, color5, color6 = getVehicleColor ( playerVehicle ) setVehicleColor ( playerVehicle, color1, color2, color3, color4, color5, color6) end end end addEventHandler ( "onPlayerSpawn", getRootElement(), setstats ) In race map with respawn work perfect . . .but "on next map" the get/set color no work WHY help please Tnx
-
Why dxDrawText is clientside. Call him with TriggerClientEvent
-
It's very hard for me . .i use the basic color 0-126 Tnx Anyway
-
Type ? ServerSide function setColorPicker (editingVehicle, r1, g1, b1, r2, g2, b2) local account = getPlayerAccount(source) --IDK-- addEventHandler ("onPlayerSpawn", getLocalPlayer(), setColorPicker) Edit : or with local playeraccount = getPlayerAccount(source) setAccountData(playeraccount, "r1", tonumber(r1)) local r1 = getAccountData ( playeraccount, "r1" )
-
Hi all. I need help for save the colors car and HeadLight from colorPicker. Botton elseif (source == Color) then setTimer (openColorPicker,50,1) colorPicker function openColorPicker() editingVehicle = getPedOccupiedVehicle(localPlayer) if (editingVehicle) then colorPicker.openSelect(colors) end end function closedColorPicker() local r1, g1, b1, r2, g2, b2 = getVehicleColor(editingVehicle, true) server.setVehicleColor(editingVehicle, r1, g1, b1, r2, g2, b2) local r, g, b = getVehicleHeadLightColor(editingVehicle) server.setVehicleHeadLightColor(editingVehicle, r, g, b) editingVehicle = nil end function updateColor() if (not colorPicker.isSelectOpen) then return end local r, g, b = colorPicker.updateTempColors() if (editingVehicle and isElement(editingVehicle)) then local r1, g1, b1, r2, g2, b2 = getVehicleColor(editingVehicle, true) if (guiCheckBoxGetSelected(checkColor1)) then r1, g1, b1 = r, g, b end if (guiCheckBoxGetSelected(checkColor2)) then r2, g2, b2 = r, g, b end if (guiCheckBoxGetSelected(checkColor3)) then setVehicleHeadLightColor(editingVehicle, r, g, b) end setVehicleColor(editingVehicle, r1, g1, b1, r2, g2, b2) end end addEventHandler("onClientRender", root, updateColor) The colorPicker Work but i now want save the r1, g1, b1, r2, g2, b2 "onPlayerQuit" or "onPlayerSpawn" idk how Type getAccountData & setAccountData ? Type : Server function setColorPicker (editingVehicle, r1, g1, b1, r2, g2, b2) --IDK-- addEvent( "onspawn", true ) addEventHandler ("onspawn", getRootElement(), setColorPicker ) Type client : function onspawn () triggerServerEvent ('onspawn', getLocalPlayer() ) end addEventHandler ("onClientPlayerSpawn", getLocalPlayer(), onspawn) Tnx
-
Work only with [DM] in map title. or u no delete the old race_toptime else give more info.
-
Luck the date is very very old this map
-
I understand With "indipendent" element without string. i edit the gui rules with custom font Tnx Anyway Castillo