SA-MP Forums Archive
Kill a player automaticly - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Kill a player automaticly (/showthread.php?tid=104564)



Kill a player automaticly - juuleman - 25.10.2009

Hey GuyZ,

Whats the line to kill a player when it spawns??



Re: Kill a player automaticly - BMUK - 25.10.2009

Код:
public OnPlayerSpawn(playerid)
{
  SetPlayerHealth(playerid,0);
  return 1;
}



Re: Kill a player automaticly - juuleman - 25.10.2009

LoL, Now it kills and kills and kills It fucking doesnt stop dieing :S

Please help


Re: Kill a player automaticly - BMUK - 25.10.2009


Quote:
Originally Posted by [ECR
SancheZ ]
Hey GuyZ,

Whats the line to kill a player when it spawns??
Quote:
Originally Posted by BMUK
Код:
public OnPlayerSpawn(playerid)
{
  SetPlayerHealth(playerid,0);
  return 1;
}
Quote:
Originally Posted by [ECR
SancheZ ]
LoL, Now it kills and kills and kills It fucking doesnt stop dieing :S

Please help
0.o


Re: Kill a player automaticly - Streetplaya - 25.10.2009

Isn't it obvious that a player re-spawns after his death?...