15.10.2011, 14:52
Ok ive tring to create a weapons skill system what i have done the save info part but i not sure how to make the person skill increase. What i need to do is how to tell that a person has killed with a certian weapon then add 1 to the skill level each kill here is what i am using to save the score if this helps.
Many thanks
Код:
DeagleSkill, PlayerInfo[playerid][DeagleSkill] = 0;//onplayer connect PlayerInfo[playerid][DeagleSkill] = (dUserINT(PlayerName2(playerid)).("DeagleSkill"));//in the command /stats to show there level. dUserSetINT(PlayerName2(playerid)).("DeagleSkill",PlayerInfo[playerid][DeagleSkill]);//when saving player stats