no respawn dm not working
#1

but when only 1 is left alive, it does nothing.. :S
pawn Код:
forward counterleft();
public counterleft()
{
if(countalive[0] == 1)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    if(gTeam[i] == TEAM_DEATH)
    {
    GameTextForPlayer (i, "~r~mission failed!", 3000, 0);
    }
    for(new i = 0; i < MAX_PLAYERS; i++)
    if(gTeam[i] == TEAM_ALIVE)
    {
    GivePlayerMoney (i,object_bonus);
    PlayerPlaySound (i, 1062, 0.0, 0.0, 0.0);
    GameTextForPlayer (i, "mission passed!~n~~w~6500$", 3000, 0); }
    }
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)