[S.K] Posted December 2, 2012 Share Posted December 2, 2012 how can i replace this homies sharp to S.K Link to comment
uhm Posted December 2, 2012 Share 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 Link to comment
[S.K] Posted December 2, 2012 Author Share Posted December 2, 2012 how i replace txd? Link to comment
[S.K] Posted December 3, 2012 Author Share Posted December 3, 2012 no but how can i make a TXD and DFF files Link to comment
Baseplate Posted December 3, 2012 Share Posted December 3, 2012 You can use ZModeler or 3DS Max but you need skills first Link to comment
[S.K] Posted December 3, 2012 Author Share Posted December 3, 2012 other Question what is Jetpack Id? Link to comment
AhmadQTR Posted December 3, 2012 Share Posted December 3, 2012 other Question what is Jetpack Id? Jetpack ID? Link to comment
AhmadQTR Posted December 3, 2012 Share Posted December 3, 2012 yes Jetpack Id It's 370 Link to comment
[S.K] Posted December 4, 2012 Author Share 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 ) Link to comment
Castillo Posted December 4, 2012 Share Posted December 4, 2012 And the problem is...? Link to comment
[S.K] Posted December 4, 2012 Author Share Posted December 4, 2012 easy i cant spawn it and i am in VIP group Link to comment
Castillo Posted December 4, 2012 Share 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 Link to comment
[S.K] Posted December 4, 2012 Author Share Posted December 4, 2012 can you give me full script which working Link to comment
[S.K] Posted December 4, 2012 Author Share Posted December 4, 2012 ? and i am not talking to you Link to comment
AhmadQTR Posted December 4, 2012 Share Posted December 4, 2012 can you give me full script which working What you wanna do exactly. Link to comment
Baseplate Posted December 4, 2012 Share 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! Link to comment
Anderl Posted December 4, 2012 Share 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. 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