sckatchof Posted April 8, 2012 Author Share Posted April 8, 2012 So, basically you want a garage spawner?but instead it shows the blip of where the car is? Yes Link to comment
Jaysds1 Posted April 8, 2012 Share Posted April 8, 2012 Yes ok, Can you post the code you currently have please. Link to comment
sckatchof Posted April 8, 2012 Author Share 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) Link to comment
Jaysds1 Posted April 8, 2012 Share Posted April 8, 2012 The names of the cars in the guiGridList is in a different language, right? Link to comment
sckatchof Posted April 8, 2012 Author Share 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 Link to comment
Jaysds1 Posted April 8, 2012 Share 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 Link to comment
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