12.10.2015, 14:42
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.
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; }