How to detect the highest vehicle health ?
#1

Well, that's the question
I've tried several things but ... it just don't work. IM MAKING A DERBY GM (update)!
Now i have this:

SOLVED

------------------------------------------------------------------------------------------------------
And i have another problem

pawn Код:
forward NewMap();
public NewMap()
{
    foreach(Player,i)
    {
             DontSpectating(i);
        SetPVarInt(i,"Missiles",0);
        SetPlayerColor(i,COLOR_GREEN);
        new OtherSpawn = random(7);
        switch (OtherSpawn)
        {
            case 0:
            {
                //blahblah
            }
            case 1:
            {
                //blahblah
            }
            case 2:
            {
                //blahblah
            }
            case 3:
            {
                //blahblah
            }
            case 4:
            {
                //blahblah
            }
            case 5:
            {
                //blahblah
            }
            case 6:
            {
                //blahblah
            }
        }
        //EndRound();
    }
    return 1;
}

stock DontSpectating(playerid)
{
    SpawnPlayer(playerid);
    TogglePlayerSpectating(playerid,0);
}
They must stop spectating and spawn ! x)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)