Igorek536 Posted March 22, 2013 Share Posted March 22, 2013 I ask you to help me very urgently need!! You have really helped me with the save system and I can only point to finish spawning player!! please help!!!!!! Link to comment
Castillo Posted March 22, 2013 Share Posted March 22, 2013 Related probably easy to say! I'm a translator to communicate with you and it takes WIKI awful and nothing is clear. You could not write a specific code for the script and I'll put you in the server.Edit: Now I ask the question a little off topic: How to make so that when spawning player early in the game he was given the skin near spawning scooter and he was given weapons? We don't give people the script finished, we help you learn. Link to comment
Igorek536 Posted March 23, 2013 Share Posted March 23, 2013 Good! Help to learn how to do it .... ..::!!!!!!PLEASE!!!!!::.. Link to comment
Sasu Posted March 23, 2013 Share Posted March 23, 2013 My public resource: function evento(source, cmd, ...) for _, group in ipairs ({"Admin", "Supermoderator"}) do local playerAccount = getPlayerAccount(source) if (not playerAccount) then return end local accountName = getAccountName(playerAccount) if isObjectInACLGroup ( "user.".. accountName, aclGetGroup ( group ) ) then if (isElement(theMarker)) then destroyElement(theMarker) local nombre2 = getPlayerName(source) removeCommandHandler("eventwarp") else local x,y,z = getElementPosition(source) local interior = getElementInterior(source) theMarker = createMarker ( x, y, z, "checkpoint", 2, 255, 255, 255, 100 ) setElementInterior(theMarker, interior, x, y, z) addCommandHandler("eventwarp", eventowarp) end end end end addCommandHandler("event", evento) function eventowarp(thePlayer) if isElement(theMarker) then local x, y, z = getElementPosition(theMarker) local interior = getElementInterior(theMarker) fadeCamera ( thePlayer, false, 1.0, 0, 0, 0 ) setTimer(fadeCamera, 2000, 1, thePlayer, true, 1.0) setTimer(setElementPosition, 2000, 1, thePlayer, x, y, z) setTimer(setElementInterior, 2000, 1, thePlayer, interior, x, y, z) setTimer(giveWeapon, 2000, 1, thePlayer, 31, 999 ) end end You should be "Admin" or "Moderator". Type /event to create an event and /eventwarp to join the event. Link to comment
Sasu Posted March 23, 2013 Share Posted March 23, 2013 It's mine. https://community.multitheftauto.com/in ... ls&id=6653 . You can use it but dont share. 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