Itt egy újabb scriptem! Egy pár perc megírni de sokszór hasznos!
[pawn]
#include <a_samp>
forward AntiSK(playerid);
public OnPlayerSpawn(playerid)
{
print(\"~~~~AntiSpawnKill~~~~~\");
print(\"~~~~~~by Szabyy~~~~~~~\");
new string[48];
format(string, sizeof(string), \"~w~Sk v¾delem!\");
GameTextForPlayer(playerid, string, 5000, 4);
SetPlayerHealth(playerid, 99999999);
SetTimerEx(\"AntiSK\",5000,0,\"i\",playerid);
TogglePlayerControllable(playerid,0);
return 1;
}
public AntiSK(playerid)
{
TogglePlayerControllable(playerid,1);
SetPlayerHealth(playerid, 100.0);
SendClientMessage(playerid, 0xFF0000AA, \"SK védelem lejárt!\");
return 1;
}
[/pawn]