Wep dmg
#9

Quote:
Originally Posted by Rajat_Pawar
Посмотреть сообщение
Add this to the top of your script.
pawn Код:
new isdmgsniper[MAX_PLAYERS]=0;
Then:
pawn Код:
public OnPlayerSpawn(playerid)
{
         new skinid = GetPlayerSkin(playerid);
         if(skinid==17)
         {
             isdmgsniper[playerid]=1;
         }
         else isdmgsniper[playerid]=0;
   return 1;
}
Add this above the line (if issuerid....)
pawn Код:
if (isdmgsniper[playerid]==1)
So now, if player chooses skin:

his one sniper hit will result in a 100 pcnt health loss, or for other skins, it wont.
I cant understand about this one, how to add it to fs
Reply


Messages In This Thread
Wep dmg - by xxxDeathxxx - 06.12.2012, 05:20
Re: Wep dmg - by Shockey HD - 06.12.2012, 05:34
Re: Wep dmg - by RajatPawar - 06.12.2012, 05:39
Re: Wep dmg - by xxxDeathxxx - 06.12.2012, 05:50
Re: Wep dmg - by RajatPawar - 06.12.2012, 06:21
Re: Wep dmg - by xxxDeathxxx - 06.12.2012, 06:59
Re: Wep dmg - by RajatPawar - 06.12.2012, 07:04
Re: Wep dmg - by xxxDeathxxx - 06.12.2012, 07:31
Re: Wep dmg - by xxxDeathxxx - 06.12.2012, 07:43

Forum Jump:


Users browsing this thread: 1 Guest(s)