uhm Posted December 2, 2012 Posted December 2, 2012 I guess replace the txd or even better use this: https://wiki.multitheftauto.com/wiki/DxDrawImage3D but I have no idea how the latter works and I've never seen it in use but I can only figure that it's hella awesome But to eleborate on the txd way, the way inferior way that was acceptable until the spawn of that function fantastico, use mta map editor's get real world object tool (I believe the most right one at the bottom left set of tools) and then edit that txd using the tools gta modders use
[S.K] Posted December 3, 2012 Author Posted December 3, 2012 no but how can i make a TXD and DFF files
Baseplate Posted December 3, 2012 Posted December 3, 2012 You can use ZModeler or 3DS Max but you need skills first
AhmadQTR Posted December 3, 2012 Posted December 3, 2012 other Question what is Jetpack Id? Jetpack ID?
[S.K] Posted December 4, 2012 Author Posted December 4, 2012 help with this theVehicle = { } function admt ( thePlayer ) if isObjectInACLGroup ( "user.".. getAccountName ( getPlayerAccount ( thePlayer ) ), aclGetGroup ( "VIP" ) ) then local x, y, z = getElementPosition ( thePlayer ) local rx, ry, rz = getElementRotation ( thePlayer ) theVehicle [ thePlayer ] = createVehicle ( 370, x, y, z, rx, ry, rz, "vipjetpack" ) local handlingTable = getVehicleHandling ( theVehicle [ thePlayer ] ) warpPedIntoVehicle ( thePlayer, theVehicle [ thePlayer ] ) local newVelocity = ( handlingTable [ "maxVelocity" ] + ( handlingTable [ "maxVelocity" ] / 100 * 40 ) ) end end addCommandHandler ( "vipjetpack", admt )
[S.K] Posted December 4, 2012 Author Posted December 4, 2012 easy i cant spawn it and i am in VIP group
Castillo Posted December 4, 2012 Posted December 4, 2012 Maybe because that makes no sense? 370 is not a valid vehicle ID, is the ID of the jetpack, you must use: givePedJetPack
[S.K] Posted December 4, 2012 Author Posted December 4, 2012 can you give me full script which working
AhmadQTR Posted December 4, 2012 Posted December 4, 2012 can you give me full script which working What you wanna do exactly.
Baseplate Posted December 4, 2012 Posted December 4, 2012 addCommandHandler ( "vipjetpack", function ( thePlayer ) if doesPedHaveJetPack ( thePlayer ) then -- If the player have a jetpack already, remove it removePedJetPack ( thePlayer ) -- Remove the jetpack return -- And stop the function here end -- Otherwise, give him one if he has access local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) -- get his account name if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then -- Does he have access to Admin functions? if not doesPedHaveJetPack ( thePlayer ) then -- If the player doesn't have a jetpack give it. givePedJetPack ( thePlayer ) -- Give the jetpack end end end ) Code from Wiki [s.K] Again, LAST TIME! STOP ASKING FOR SCRIPTS!
Anderl Posted December 4, 2012 Posted December 4, 2012 Learn the damn language and stop asking for full scripts. We won't be here forever wasting our time with kids that don't want to learn.
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