Weapon kill detect
#1

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.

Код:
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
Many thanks
Reply


Messages In This Thread
Weapon kill detect - by manchestera - 15.10.2011, 14:52
Re: Weapon kill detect - by Stigg - 15.10.2011, 14:54
Re: Weapon kill detect - by manchestera - 15.10.2011, 15:13
Re: Weapon kill detect - by Stigg - 15.10.2011, 15:14
Re: Weapon kill detect - by manchestera - 15.10.2011, 15:24
Re: Weapon kill detect - by manchestera - 15.10.2011, 16:50
Re: Weapon kill detect - by [MG]Dimi - 15.10.2011, 18:21
Re: Weapon kill detect - by manchestera - 15.10.2011, 18:29

Forum Jump:


Users browsing this thread: 1 Guest(s)