Jump to content

Xeno

Members
  • Posts

    728
  • Joined

  • Last visited

Everything posted by Xeno

  1. Xeno

    Who can help?

    If your looking for Role Play jobs, you can try and use the resource on the community created by JR10: https://community.multitheftauto.com/index.php?p=resources&s=details&id=2484
  2. Xeno

    Changing Skins

    It was the resource, thank you very much for your help ;3
  3. Xeno

    Changing Skins

    The skin is now showing, but it doesn't seem to have any colour to it, like, the outline is all there, but the actual colour is just whitish. Is this the .txd and the .dff's fault?
  4. Xeno

    Changing Skins

    I've made a custom skin and was trying to upload it to my local server ,this is the first time I have actauly tried to make a custom skin work and this is what i've done. function onResourceStart() skin = engineLoadTXD ( "veg.txd" ) skin1 = engineLoadDFF ( "veg.dff", 22) engineImportTXD ( skin, 22 ) engineReplaceModel ( skin1, 22 ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) It doesnt seem to replace the skin, and I've added it to the meta, ect. Please help me. Xeno
  5. I felt bad so here... I use this function setTeam() local account = getPlayerAccount(source) -- gets players account local team = getAccountData (account, "team") -- gets players team if (team) and getTeamFromName(team) then setPlayerTeam(source, getTeamFromName(team)) -- sets players team end end addEventHandler("onPlayerLogin",root,setTeam) -- sets players team on login function save() local team = getPlayerTeam(source) -- Gets the players team local account = getPlayerAccount(source) if (team) and not isGuestAccount(account) then -- Checks to see if the player is a guest or not setAccountData(account, "team", getTeamName(team)) --saves team end end addEventHandler("onPlayerQuit", getRootElement(), save) -- saves team on quit
  6. no. This is not a request a script forum.
  7. 1. Use LUA tags 2. Where in that script is requestServerInfo ? -.-
  8. Show us the server side.
  9. But its a role play server, so anyone can get there skills up. Oh well, thanks for the help guys.
  10. Cant I do something like if == player then Not sure if thats a real function^
  11. With the new functions, is it possible to make it work for only one person? If I use this: function m4(player) local theAccount=getPlayerAccount(player) if theAccount then local accountName=getAccountName(theAccount) if isObjectInACLGroup("user." .. accountName, aclGetGroup ( "Admin", "Moderator" ) ) then setWeaponProperty(31, "pro", "flags", 0x000800) setWeaponProperty(31, "pro", "flags", 0x000002) setWeaponProperty(31, "pro", "maximum_clip_ammo", 1000) else end end It will change it so that everyone has duel weapons ect, but how would I make it so its only the PLAYER that gets 2 M4's? Is it possible?
  12. Xeno

    Help

    You made it client sided right? On the meta?
  13. Xeno

    Small help.

    Sparrow, ZverCR's script is correct, dont use mine.
  14. Xeno

    Small help.

    Try this: function setStaffSkin (thePlayer) if (isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(thePlayer)),aclGetGroup("Admin", "Moderator", "SuperModerator"))) then setPedSkin ( thePlayer, 0) addPedClothes ( source, "suit2grn", "suit2", 0 ) addPedClothes ( source, "elvishair", "elvishair", 1 ) addPedClothes ( source, "suit1trblk2", "suit1tr", 2 ) addPedClothes ( source, "shoespatz", "shoe", 3 ) addPedClothes ( source, "neckdollar", "neck", 13 ) addPedClothes ( source, "watchcro2", "watch", 14 ) addPedClothes ( source, "glasses01dark", "glasses01", 15 ) addPedClothes ( source, "boaterblk", "boater", 15 ) end end addCommandHandler ( "staff", setStaffSkin)
  15. If you didn't realise from Novo's example, you have to define it in the function function BugFix( thePlayer )
  16. Lol. I think it was necessary for Castillo to reply because im about to use his script he posted >_>
  17. what doesnt work? They dont move? setTimer(moveObject, 20000,1, asd2,100000, 5906.5 , 3386.6000976563 , 16.200000762939) Try that^
  18. For the first one you proberly want to do a save skin script. For all these problems, I would stop all the scripts and test one by one and see which one is causing the problems.
  19. Xeno

    SQL Lite?

    Thanks you guys.
  20. Xeno

    SQL Lite?

    What is SQL Lite? Im guessing its a mini version of mySQL? I have some questions though, : Do you need to set it up on your router settings? Could you give me an example script of someone using lite? Or send me a wiki link?? Thanks, Xeno
  21. Xeno

    vehicle entry

    i work but i mean just vehicles can enter. Then as TAPL said, use this, if getElementType(hitPlayer) == "vehicle" then
  22. Or you can use https://wiki.multitheftauto.com/wiki/SetBlipVisibleDistance
×
×
  • Create New...