How to make this?
#8

I put this, but its giving me errors

pawn Код:
error 035: argument type mismatch (argument 1)
error 017: undefined symbol "secspause"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
pawn Код:
new Text3D:minspause[MAX_PLAYERS];
new Text3Dsecspause[MAX_PLAYERS];
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
    {
        new PausedSeconds = gettime()-PauseTime[i], string[50];
        if(PausedSeconds > 60) // check if it's above 1 minute.
        {
            format(string, 50, ""COL_YELLOW"Paused for (%d) minutes\n|\nV\n", SecondsToMinutes(PausedSeconds));
            minspause[i] = Create3DTextLabel(string, 0xFFFFFFFF, 30.0, 40.0, 50.0, 40.0, 0);
            Attach3DTextLabelToPlayer(minspause,i, 0.0, 0.0, 0.3);
        }
        else if(PausedSeconds < 60 && PausedSeconds > 0) // checks if it's below 1 minute but above 0 seconds.
        {
            format(string, 50, ""COL_YELLOW"Paused for (%d) seconds\n|\nV\n", PausedSeconds);
            secspause[i] = Create3DTextLabel(string, 0xFFFFFFFF, 30.0, 40.0, 50.0, 40.0, 0);
            Attach3DTextLabelToPlayer(secspause,i, 0.0, 0.0, 0.3);
        }
    }
Reply


Messages In This Thread
How to make this? - by MayaEU - 16.07.2016, 21:42
Re: How to make this? - by UltraScripter - 16.07.2016, 21:57
Re: How to make this? - by MayaEU - 17.07.2016, 00:27
Re: How to make this? - by d1git - 17.07.2016, 01:03
Re: How to make this? - by ColdGamePlay - 17.07.2016, 02:24
Re: How to make this? - by Sew_Sumi - 17.07.2016, 04:40
Re: How to make this? - by Lynn - 17.07.2016, 04:52
Re: How to make this? - by MayaEU - 17.07.2016, 09:25
Re: How to make this? - by FuNkYTheGreat - 17.07.2016, 09:54
Re: How to make this? - by MayaEU - 17.07.2016, 12:23

Forum Jump:


Users browsing this thread: 7 Guest(s)