09.07.2010, 15:23
Didn't SetPlayerTeam already had anti-tk?
for spawn protection:
for spawn protection:
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerHealth(playerid,10000000);
SetTimerEx("OnSpawnProtEnd",10000,0,"d",playerid);
return 1;
}
forward OnSpawnProtEnd(playerid);
public OnSpawnProtEnd(playerid)
{
SetPlayerHealth(playerid,100);
return 1;
}