sckatchof Posted April 8, 2012 Author Posted April 8, 2012 So, basically you want a garage spawner?but instead it shows the blip of where the car is? Yes
Jaysds1 Posted April 8, 2012 Posted April 8, 2012 Yes ok, Can you post the code you currently have please. My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
sckatchof Posted April 8, 2012 Author Posted April 8, 2012 Yes ok, Can you post the code you currently have please. Client Side : .. .. .. addEventHandler("onClientGUIClick",GridlOwnerCar,function(button) if(button=="left")then local rowindex, columnindex = guiGridListGetSelectedItem ( GridlOwnerCar ) local carname = guiGridListGetItemText ( GridlOwnerCar, rowindex, columnindex) triggerServerEvent("PCar", localPlayer, carname) end end,false) .. Server Side : addEvent("PCar",true) addEventHandler("PCar",root,function(carname) if(carname ~= "")then for i,cars in ipairs(getElementsByType("vehicle")) do if(getVehicleName(cars)==carname)then createBlipAttachedTo(cars,42,3,0,0,0,0,0,65535,client) end end end end)
Jaysds1 Posted April 8, 2012 Posted April 8, 2012 The names of the cars in the guiGridList is in a different language, right? My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
sckatchof Posted April 8, 2012 Author Posted April 8, 2012 The names of the cars in the guiGridList is in a different language, right? grid list empty but when i buy a car it show in grid list car name
Jaysds1 Posted April 8, 2012 Posted April 8, 2012 The names of the cars in the guiGridList is in a different language, right? grid list empty but when i buy a car it show in grid list car name Can you PM me your full script please... Including your Gridlist My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now