Suicide in SAMP - 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)
+--- Thread: Suicide in SAMP (
/showthread.php?tid=520978)
Suicide in SAMP -
bitakid - 21.06.2014
How to a player in SAMP server wants to commit suicide? How to write scripts to do it? Please help me
I'm a Vietnamese so my English is bad
Re: Suicide in SAMP -
Yera96 - 21.06.2014
Check
this
Re: Suicide in SAMP -
Team_PRO - 21.06.2014
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp("/kill", cmdtext, true))
{
SetPlayerHealth(playerid, 0);
return 1;
}
return 0;
}