[Help]Select... - 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: [Help]Select... (
/showthread.php?tid=591486)
[Help]Select... -
Luicy. - 12.10.2015
Hello, Been long time since I've were scripting Pawno, I've been busy doing PHP Websites, Anyway...
I'm trying/scripting an derby gamemode, An I'm stuck little..
The idea is to have different mappings, and once you die, you loses that round, And when you loses the round you'll be put in spec mode, but... When everyone has lost, everyone is spectating still..
I need to like select all players alive and once it's one left, It has won.
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
PlayerInfo[playerid][pLoses]++;
TogglePlayerSpectating(playerid, 1);
PlayerSpectatePlayer(playerid, 0);
return 1;
}
Re: [Help]Select... -
Luicy. - 12.10.2015
Also, What command include should I use? Last time did I use zcmd, Is there any new good command include?