01.01.2014, 15:23
Well, I'm planning to create a command like "givegun" (Not admin command, but a player command).
Eh, since i haven't started, i will give some questions(Most of them will probably sound dumb, lol.)
#1 - Could "GivePlayerWeapon(id, GetPlayerWeapon(playerid), amount)" work?
The command should make it so the player gives the target the weapon he is holding.
#2 - How can you detect if the player doesn't have so much ammunition? GetPlayerWeaponData stuff, or..?
Well.. that's about it, hope that you could answer/explain it to me :]
Eh, since i haven't started, i will give some questions(Most of them will probably sound dumb, lol.)
#1 - Could "GivePlayerWeapon(id, GetPlayerWeapon(playerid), amount)" work?
The command should make it so the player gives the target the weapon he is holding.
#2 - How can you detect if the player doesn't have so much ammunition? GetPlayerWeaponData stuff, or..?
Well.. that's about it, hope that you could answer/explain it to me :]