Help me with errors...
#1

Can you help me with these errors?
pawn Код:
D:\Games\OnSpeed MOD\gamemodes\gamemodes\OnSpeed.pwn(10431) : error 017: undefined symbol "MecanicCallTime"
D:\Games\OnSpeed MOD\gamemodes\gamemodes\OnSpeed.pwn(10431) : warning 215: expression has no effect
D:\Games\OnSpeed MOD\gamemodes\gamemodes\OnSpeed.pwn(10431) : error 001: expected token: ";", but found "]"
D:\Games\OnSpeed MOD\gamemodes\gamemodes\OnSpeed.pwn(10431) : error 029: invalid expression, assumed zero
D:\Games\OnSpeed MOD\gamemodes\gamemodes\OnSpeed.pwn(10431) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Line 10431: if(MecanicCallTime > 0)
Reply
#2

Self-explanatory? The symbol (variable, constant or function) is not declared - MecanicCallTime
Reply
#3

pawn Код:
if(MecanicCallTime[i] > 0)
            {
                if(MecanicCallTime[i] == 30) { MecanicCallTime[i] = 0; DisablePlayerCheckpoint(i); PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0); GameTextForPlayer(i, "~r~RedMarker gone", 2500, 1); }
                else
                {
                    format(string, sizeof(string), "%d", 30 - MecanicCallTime[i]);
                    GameTextForPlayer(i, string, 1500, 6);
                    MecanicCallTime[i] += 1;
                }
            }
Reply
#4

Quote:
Originally Posted by Gaby29
Посмотреть сообщение
pawn Код:
if(MecanicCallTime[i] > 0)
            {
                if(MecanicCallTime[i] == 30) { MecanicCallTime[i] = 0; DisablePlayerCheckpoint(i); PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0); GameTextForPlayer(i, "~r~RedMarker gone", 2500, 1); }
                else
                {
                    format(string, sizeof(string), "%d", 30 - MecanicCallTime[i]);
                    GameTextForPlayer(i, string, 1500, 6);
                    MecanicCallTime[i] += 1;
                }
            }
Top on your gamemode;

Код:
new MecanicCallTime[MAX_PLAYERS];
Reply
#5

Thank went but they do it?
pawn Код:
D:\Games\OnSpeed MOD\gamemodes\gamemodes\ASTE LE FOLOSESC AQ\OnSpeed.pwn(10444) : error 029: invalid expression, assumed zero
D:\Games\OnSpeed MOD\gamemodes\gamemodes\ASTE LE FOLOSESC AQ\OnSpeed.pwn(10444) : error 017: undefined symbol "i"
D:\Games\OnSpeed MOD\gamemodes\gamemodes\ASTE LE FOLOSESC AQ\OnSpeed.pwn(10444) : error 029: invalid expression, assumed zero
D:\Games\OnSpeed MOD\gamemodes\gamemodes\ASTE LE FOLOSESC AQ\OnSpeed.pwn(10444) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)