Yurigarga Posted July 12, 2018 Posted July 12, 2018 what should I do ? local Veiculos = {507, 559,566,581,506,517,526} Drzika = {} function CreateVehicle (source) if getElementData (source, "Pegou", true) then outputChatBox ('#ccff33[BİLGİ] #0000ff30 #33ffffSaniye Sonra Yeniden Deneyin',source,255,255,255,true) return end if isElement(Drzika[source]) then destroyElement (Drzika[source]) Drzika[source] = nil end local x,y,z = getElementPosition (source) local Cars = Veiculos[math.random(#Veiculos)] Drzika[source] = createVehicle (Cars,x,y,z) warpPedIntoVehicle (source,Drzika[source]) setElementData (source, "Pegou",true) setTimer (setElementData, 30000, 1, source, "Pegou", false) end addCommandHandler ("car", CreateVehicle)
Galactix Posted July 12, 2018 Posted July 12, 2018 Change source to Drzika[source] 1 If I helped you, make sure you click the reaction button on the right to support me! It will grant me more visibility and will help me to help others!If you have any kind of request or subject you would like to discuss about with me, don't hesitate to send me a private message about it!
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