ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2932

IMAGE WEAPONS

by Cayman_-Modz - 11-15-2018 - 11:25 AM
#1
// image weapons 

DrawSprite("mpsrange", ....NATIVE....(player), -0.01f + menuPos, 0.158f, 0.09, 0.09, 0, 255, 255, 255, 255);


Someone has some ideas on how to make the code to visualize the image of the weapon that you carry??
Reply
#2
(11-15-2018 - 11:25 AM)Cayman_-Modz Wrote: // image weapons 

DrawSprite("mpsrange", ....NATIVE....(player), -0.01f + menuPos, 0.158f, 0.09, 0.09, 0, 255, 255, 255, 255);


Someone has some ideas on how to make the code to visualize the image of the weapon that you carry??

It's every simple to do but it pointless, it done the same way you do vehicle image
Reply
#3
(11-15-2018 - 12:28 PM)GeostormXD Wrote:
(11-15-2018 - 11:25 AM)Cayman_-Modz Wrote: // image weapons 

DrawSprite("mpsrange", ....NATIVE....(player), -0.01f + menuPos, 0.158f, 0.09, 0.09, 0, 255, 255, 255, 255);


Someone has some ideas on how to make the code to visualize the image of the weapon that you carry??

It's every simple to do but it pointless, it done the same way you do vehicle image
but the native ones would be?
Reply
#4
you use a drawsprite and you embed it in the coding or you want the display to be done
Reply
#5
Pretty similar to how Car Preview is done bro
2021 Best Be Better Then 2020
Reply
#6
(11-16-2018 - 06:08 AM)trinity7 Wrote: Pretty similar to how Car Preview is done bro

yes, but already done the other way I need to do it bro...

I just need to know which native replaces.. 


//Normal
DrawSprite("mpsrange", "weap_ar_5", IMGBoolXWeapon, IMGBoolYWeapon, IMGBoolScaleX2, IMGBoolScaleY2, 0, 255, 255, 255, 255);

//with this I want to work
DrawSprite("mpweaponsunusedfornow", // I wanted to understand this  ..GET_WEAPONTYPE_MODEL(SelectPlayer), -0.01f + IMGBoolXWeapon, IMGBoolYWeapon, IMGBoolScaleX2, IMGBoolScaleY2, 0, 255, 255, 255, 255);


GET_WEAPONTYPE_MODEL - it's not the right one
Reply
#7
(11-16-2018 - 11:19 PM)Cayman_-Modz Wrote:
(11-16-2018 - 06:08 AM)trinity7 Wrote: Pretty similar to how Car Preview is done bro

yes, but already done the other way I need to do it bro...

I just need to know which native replaces.. 


//Normal
DrawSprite("mpsrange", "weap_ar_5", IMGBoolXWeapon, IMGBoolYWeapon, IMGBoolScaleX2, IMGBoolScaleY2, 0, 255, 255, 255, 255);

//with this I want to work
DrawSprite("mpweaponsunusedfornow", // I wanted to understand this  ..GET_WEAPONTYPE_MODEL(SelectPlayer), -0.01f + IMGBoolXWeapon, IMGBoolYWeapon, IMGBoolScaleX2, IMGBoolScaleY2, 0, 255, 255, 255, 255);


GET_WEAPONTYPE_MODEL - it's not the right one

you doing it all wrong. My question do you even know how to do vehicle preview? If you do then it's the same way like that. Basically you need to find the sprite name for each weapon and make sure they're in order.
Reply
#8
(11-17-2018 - 10:20 PM)GeostormXD Wrote:
(11-16-2018 - 11:19 PM)Cayman_-Modz Wrote:
(11-16-2018 - 06:08 AM)trinity7 Wrote: Pretty similar to how Car Preview is done bro

yes, but already done the other way I need to do it bro...

I just need to know which native replaces.. 


//Normal
DrawSprite("mpsrange", "weap_ar_5", IMGBoolXWeapon, IMGBoolYWeapon, IMGBoolScaleX2, IMGBoolScaleY2, 0, 255, 255, 255, 255);

//with this I want to work
DrawSprite("mpweaponsunusedfornow", // I wanted to understand this  ..GET_WEAPONTYPE_MODEL(SelectPlayer), -0.01f + IMGBoolXWeapon, IMGBoolYWeapon, IMGBoolScaleX2, IMGBoolScaleY2, 0, 255, 255, 255, 255);


GET_WEAPONTYPE_MODEL - it's not the right one

you doing it all wrong. My question do you even know how to do vehicle preview? If you do then it's the same way like that. Basically you need to find the sprite name for each weapon and make sure they're in order.

I managed to find the way to visualize the image of the vehicles that the players are using without making any order of images
Reply

Users browsing: 3 Guest(s)