/hits help please
#1

<Solved>
Reply
#2

use player info like
pawn Code:
enum pf
{
pHit
}
PlayerInfo[MAX_PLAYERS][pf];
Reply
#3

Quote:
Originally Posted by mineralo
View Post
use player info like
pawn Code:
enum pf
{
pHit
}
PlayerInfo[MAX_PLAYERS][pf];
Thank you kind sir but is there any easier way to do it with like the whole code? Thanks,
Reply
#4

yes, there are a lot ways, like make function to give hit
try this
pawn Code:
new HitP[MAX_PLAYERS];
stock RemovePlayerHit(playerid)
{
HitP[playerid] = 0;
return HitP[playerid];
}
stock GivePlayerHit(playerid,money)
{
HitP[playerid] = HitP[playerid] + money;
return HitP[playerid];
}
stock SetPlayerHit(playerid,money)
{
HitP[playerid] = money;
return HitP[playerid];
}
now you can use them function in your script
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)