#1

how to make a killing in a certain place was prohibited! that is to the player could not shoot
Reply
#2

I can giveout example,
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, range, x, y, z))
{
         SetPlayerHealth(playerid, 1000000);
} else {
         SetPlayerHealth(playerid, 100);
}
This is just an example,the code wasnt tested.
Reply
#3

Quote:
Originally Posted by Ralfie
Посмотреть сообщение
Use This,
https://sampwiki.blast.hk/wiki/Areacheck

You can reset the player's weapons
And if he is shooting just clear his anims.

Check if the player is shooting by
pawn Код:
stock IsPlayerShooting(i)
{
    new index = GetPlayerAnimationIndex(i);
    return(index == 1167 || index == 363);
}
and how to make the man was not dead and frozen for a second?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)