How to show spawn button - 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: How to show spawn button (
/showthread.php?tid=604017)
How to show spawn button -
TVDYNAMO - 30.03.2016
Hi Everybody !
i want show Group button in Images when die.
Re: How to show spawn button -
Doubdoud - 30.03.2016
I think we can do that, but we must use text draw.
or you can use this code, but this code will set player position to spawn login player place, when the player is die.
PHP код:
public OnPlayerDeath(playerid, killerid, reason)
{
ForceClassSelection(playerid);
SendClientMessage(playerid, 0xFF0000AA, "You Death");
return 1;
}
Sorry for my bad English
Re: How to show spawn button -
YouServ - 30.03.2016
This button appears after the connection of a player.
You can force an apparition with the
function :
PHP код:
ForceClassSelection(playerid);