Posts: 207
Threads: 53
Joined: Dec 2013
Reputation:
0
Hi guys I wanted to make a command that would show how much ammo the player would have in all his guns like
after I typed /weaps 1 for example it will show me how much ammo player 1 has in all his weapons.
Can someone help me?
Posts: 207
Threads: 53
Joined: Dec 2013
Reputation:
0
It doesnt work it compiles fine but I dont get anything
Posts: 761
Threads: 124
Joined: Nov 2010
Reputation:
0
@pds2k12: i know there are more effective ways to do it but i dont think codes posted here just should be copied
into the script by the thread starter!
I dont know about you but me as a newbie in scripting would have problems to fully follow certain codes.
It always helped me to see different codes doing same or simillar stuff so i could understand and later combine everything to try out things on my own.
Unfortunately it has become pretty common to serve everything on a silver plate and invite newbies to just C&P codes instead of asking questions and being able to fully understand it.
I didnt want the thread starter to simply copy my code into his script, i just wanted to show how it also works, as
my foreposter already posted a full code and i think you can easily see how the loop/GetPlayerWeaponData function works on my example.
I at least always appreciated more examples of certain systems/functions to think about it and see certain differences.
regards, wolf.
Posts: 207
Threads: 53
Joined: Dec 2013
Reputation:
0
Thank you for helping me out I will rep you