[pawn]forward SpawnTimer(playerid);
public OnPlayerSpawn(playerid)
{
SetTimerEx(\"SpawnTimer\",3000,false,\"i\",playerid);
SetPVarInt(playerid,\"SK\",1);
return 1;
}
public SpawnTimer(playerid)
{
SetPVarInt(playerid,\"SK\",0);
return SendClientMessage(playerid,-1,\"SK védelem off\");
}
public OnPlayerDeath(playerid,killerid,reason)
{
if(!GetPVarInt(playerid,\"SK\")) SetPlayerHealth(killerid,0.0);
return 1;
}[/pawn]
3 mp is bõven elég,nem kell 10.