Weapon kill detect
#7

SetPlayerSkillLevel(killerid) [DeagleSkill][killerid] + 1 );

You cant make it like this. You want your own skill info and using SetPlayerSkillLevel you are setting Server's Player Skill level. If you want like that make it:
PHP код:
public OnPlayerDeath(playeridkilleridreason)
{
   if( 
reason == 24 // M4 weapon ID
   
{
      
SetPlayerSkillLevel(killerid,2,+1); 
      
PlayerInfo[killerid][DeagleSkill]++;
      
SendClientMessagekillerid0x00FF00FF"Upgraded your Deagle skill. Keep practicing!" );
   }
   return 
1;

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: 2 Guest(s)