31.03.2014, 15:47
hello friends I have a problem, I need to know how to give life to another player down while often squeezed right click (me down my life for the moment) also need to know how to add 2 to give money 2000 score and q increasingly squeezed click right
Code that happened to me (I lower my life)
if(gTeam[playerid] == TEAM_ZOMBIES)
{
if(newkeys == KEY_AIM)
{
new Float:Vida;
GetPlayerHealth(playerid, Health);
SetPlayerHealth(playerid, Health-10);
}
}
Code that happened to me (I lower my life)
if(gTeam[playerid] == TEAM_ZOMBIES)
{
if(newkeys == KEY_AIM)
{
new Float:Vida;
GetPlayerHealth(playerid, Health);
SetPlayerHealth(playerid, Health-10);
}
}