11.01.2014, 10:12
pawn Код:
forward AntiSpawnkill(playerid);
public AntiSpawnkill(playerid)
{
switch(DMZone[playerid])
{
case 0 .. 4: SetPlayerHealth(playerid,100); // 0 - 4
}
}
pawn Код:
forward AntiSpawnkill(playerid);
public AntiSpawnkill(playerid)
{
switch(DMZone[playerid])
{
case 0: SetPlayerHealth(playerid,100);
case 1: SetPlayerHealth(playerid,100);
case 2: SetPlayerHealth(playerid,100);
case 3: SetPlayerHealth(playerid,100);
case 4: SetPlayerHealth(playerid,100);
}
}