15.12.2013, 11:55
Hello everybody.I have problem with suming weapon skill levels...When I add variable +1 it`s not adding that number he is just reading from variable.Here is code please check it:
pawn Код:
if(GetPlayerWeapon(killerid) == 24) // deagle
{
SetPlayerSkillLevel(killerid,2,pInfo[killerid][pSkillDesert]+1);
format(slova,sizeof(slova),"{D4FF00}[Gun Skills] {FFFFFF}Your current skill level of Desert-Deagle is: %d .",pInfo[killerid][pSkillDesert]);
SendClientMessage(killerid,0xFFFFFFFF,slova);
}