Dranos Posted October 3, 2014 Posted October 3, 2014 Vreau si eu scriptul cu spawn bike , vreau doar 1 pe cont sa fie , si sa respawneze cand dai respawn la toate masinile . Va multumesc.
crismar Posted October 3, 2014 Posted October 3, 2014 Care script cu spawn bike ? Ce vrei pt. doar 1 cont ? Fii mai explicit. Contact me if you are looking for a Web Developer. 3rd of October 2014 - Founder of RomaniaZ
Dranos Posted October 4, 2014 Author Posted October 4, 2014 Scuze, adica sa nu faci spawn de bike sati iei doar cate una daca dai iar pe spawn sa se stearga prima.
crismar Posted October 4, 2014 Posted October 4, 2014 function hasBikeSpawned(thePlayer) if getElementData(thePlayer, "bikeSpawned") then return true else return false end end function gimmeTheBike(thePlayer) if hasBikeSpawned(thePlayer) then destroyElement(getElementData(thePlayer, "bikeSpawned")) local veh = createVehicle(411, getElementPosition(thePlayer)) warpPedIntoVehicle(thePlayer, veh) setElementDAta(thePlayer, "bikeSpawned", veh) else local veh = createVehicle(411, getElementPosition(thePlayer)) warpPedIntoVehicle(thePlayer, veh) setElementDAta(thePlayer, "bikeSpawned", veh) end end Comanda o pui tu singur pe functie si modifica ID'ul pt ca eu nu stiu IDurile pe derost. ID 411 = Infernus. Contact me if you are looking for a Web Developer. 3rd of October 2014 - Founder of RomaniaZ
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