13.05.2015, 20:25
Hey guys!
I am doing little system, i will explain you how it SHOULD work.
If player kills player he will gain the skill level to weapon, from which he killed the player.
But, i need.. How can i Get the weapon, and set it to SetPlayerSkillLevel? I mean i cant use GetPlayerWeapon, couse SetPlayerSkillLevel have its certain weapon list (https://sampwiki.blast.hk/wiki/Weapon_Skills) so.. like.. how can i do it?
Whole system explanation how i need it is here:
Player 1 kills Player 2
Player 1 will receive message that +10 skills was added to weapon from which he killed Player 2
It will add +10 skills to Players 1 weapon from which he killed Player 2
and for example if Player 1 writes /weaponskills it will show him all avalible weapon skills weapons and show current values how much skill he have in them.
Thanks guys, the guy who helps me will receive reputation point from me.
I am doing little system, i will explain you how it SHOULD work.
If player kills player he will gain the skill level to weapon, from which he killed the player.
But, i need.. How can i Get the weapon, and set it to SetPlayerSkillLevel? I mean i cant use GetPlayerWeapon, couse SetPlayerSkillLevel have its certain weapon list (https://sampwiki.blast.hk/wiki/Weapon_Skills) so.. like.. how can i do it?
Whole system explanation how i need it is here:
Player 1 kills Player 2
Player 1 will receive message that +10 skills was added to weapon from which he killed Player 2
It will add +10 skills to Players 1 weapon from which he killed Player 2
and for example if Player 1 writes /weaponskills it will show him all avalible weapon skills weapons and show current values how much skill he have in them.
Thanks guys, the guy who helps me will receive reputation point from me.