#Whit3^ Posted May 7, 2013 Share Posted May 7, 2013 Mi serve da fare un pickup system per race ho tentato di farlo ma alcune volte niente errori altre si una mano? Grz Link to comment
HunT Posted May 7, 2013 Share Posted May 7, 2013 Mi serve da fare un pickup system per race ho tentato di farlo ma alcune volte niente errori altre si una mano? Grz Se ti spieghi meglio almeno. Non fare il solito gremlins. Link to comment
xShocKz Posted May 7, 2013 Share Posted May 7, 2013 Credo di aver capito solo pickup. Link to comment
HunT Posted May 7, 2013 Share Posted May 7, 2013 Analizziamo la frase : Mi serve da fare : gia questo non ha alcun senso. un pickup system per race : + o - abbiamo capito VIRGOLA ho tentato di farlo VIRGOLA ma alcune volte niente errori altre si una mano? : WTF Grz : Prego Link to comment
#Whit3^ Posted May 8, 2013 Author Share Posted May 8, 2013 Analizziamo la frase :Mi serve da fare : gia questo non ha alcun senso. un pickup system per race : + o - abbiamo capito VIRGOLA ho tentato di farlo VIRGOLA ma alcune volte niente errori altre si una mano? : WTF Grz : Prego In pratica devo fare un sistema pickup come il race ma ricevo sempre degli errori (è una gm vuota in pratica) mi sono espresso male prima Link to comment
xShocKz Posted May 8, 2013 Share Posted May 8, 2013 continuo a non capire HAHAHAHAHAHAHAH Link to comment
#Whit3^ Posted May 8, 2013 Author Share Posted May 8, 2013 continuo a non capire HAHAHAHAHAHAHAH fai conto che hai una gamemode vuota e ci devi mettere il sistema pickup.. Link to comment
#Whit3^ Posted May 8, 2013 Author Share Posted May 8, 2013 Client addEventHandler("onClientColShapeHit", getRootElement(), function ( element, matchingDimension ) if not isPedInVehicle(gme) then return false end local veh = getPedOccupiedVehicle(gme) if element == veh then if matchingDimension == true then if getElementData(source,"pickup") == true then local pdata = {} g_PrevVehicleHeight = getElementDistanceFromCentreOfMassToBaseOfModel(veh or element) pdata.type = getElementData(source,"type") if pdata.type == "vehiclechange" then pdata.model = tonumber(getElementData(source,"vehicle")) end triggerServerEvent("onPlayerPickUpRacePickup",gme,pdata) end end end end) Server addEvent("onPlayerPickUpRacePickup", true) addEventHandler("onPlayerPickUpRacePickup", getRootElement(), function(data) local veh = getPedOccupiedVehicle(source) if not veh then return false end if data.type == "nitro" then addVehicleUpgrade(veh,1010) playSoundFrontEnd(source, 46) elseif data.type == "repair" then fixVehicle(veh) playSoundFrontEnd(source, 46) elseif data.type == "vehiclechange" then if data.model ~= getElementModel(veh) then setElementModel(veh,tonumber(data.model)) playSoundFrontEnd(source, 46) triggerClientEvent(source,"alignVehicleWithUp",root,veh) triggerClientEvent(source,"changeVehicleClient",root,veh) end end end) Errore ERROR: Client triggered serverside event onPlayerPickUpRacePickup, but event is not marked as remotly triggerable Link to comment
xShocKz Posted May 8, 2013 Share Posted May 8, 2013 fa una gamemode basata sulla default di mta, senza copiare le altre. Link to comment
#Whit3^ Posted May 8, 2013 Author Share Posted May 8, 2013 si ok, ma mi potresti aiutare? Non mi triggera sul server side come posso fixarlo? Link to comment
HunT Posted May 9, 2013 Share Posted May 9, 2013 Solved certo ma mi giocherei le palle che non cè neanche una stringa fatta da te Link to comment
#Whit3^ Posted May 11, 2013 Author Share Posted May 11, 2013 senza che apro un'altro fottuto topic.. Ho un problema un po strano.. Il problema è questo ve lo mostro con le screen. Questo è la screen del probelma Questo è presa dal race normale Da cosa può dipendere? Link to comment
HunT Posted May 12, 2013 Share Posted May 12, 2013 Ma che usi il compiler per scrivere. Parla chiaro e dacci dettagli Link to comment
xShocKz Posted May 13, 2013 Share Posted May 13, 2013 Hai posizionato male l'object arancione :> Link to comment
#Whit3^ Posted May 13, 2013 Author Share Posted May 13, 2013 2 gamemode Differenti La prima screen rappresenta la 1 gamemode buggata La seconda screen rappresenta una normale gamemode con quella stessa mappa.. Link to comment
xShocKz Posted May 14, 2013 Share Posted May 14, 2013 cosa c'è di buggato? non capisco. Link to comment
HunT Posted May 14, 2013 Share Posted May 14, 2013 È un mistero Forse ci vuole il LuaDec Link to comment
#Whit3^ Posted May 14, 2013 Author Share Posted May 14, 2013 Cioè Non mi ridimensiona gli object Non me li mette trapassabili Non me li mette invisibili.. Sapete da cosa dipende? Link to comment
HunT Posted May 14, 2013 Share Posted May 14, 2013 Hai eliminato gli oggetti originali? Se ci sono quelli in .map e quelli con la trasparenza nel client è logico. Link to comment
☻ᶠᶸᶜᵏᵧₒᵤ☻ Posted June 9, 2013 Share Posted June 9, 2013 Oddio sul serio, intervengo anch'io perché non si capisce una mazza di quello che dici ! 0.o 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