
Xeno
Members-
Posts
728 -
Joined
-
Last visited
Everything posted by Xeno
-
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
-
It was the resource, thank you very much for your help ;3
-
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?
-
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
-
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
-
no. This is not a request a script forum.
-
1. Use LUA tags 2. Where in that script is requestServerInfo ? -.-
-
But its a role play server, so anyone can get there skills up. Oh well, thanks for the help guys.
-
Cant I do something like if == player then Not sure if thats a real function^
-
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?
-
Sparrow, ZverCR's script is correct, dont use mine.
-
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)
-
If you didn't realise from Novo's example, you have to define it in the function function BugFix( thePlayer )
-
Lol. I think it was necessary for Castillo to reply because im about to use his script he posted >_>
-
what doesnt work? They dont move? setTimer(moveObject, 20000,1, asd2,100000, 5906.5 , 3386.6000976563 , 16.200000762939) Try that^
-
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.
-
i work but i mean just vehicles can enter. Then as TAPL said, use this, if getElementType(hitPlayer) == "vehicle" then
-
Or you can use https://wiki.multitheftauto.com/wiki/SetBlipVisibleDistance