Hello. I am getting those errors :
Код:
C:\Documents and Settings\Mariusz\Pulpit\eTo\Server\Drift\gamemodes\Untitled.pwn(234) : error 017: undefined symbol "DriftTD"
C:\Documents and Settings\Mariusz\Pulpit\eTo\Server\Drift\gamemodes\Untitled.pwn(234) : warning 215: expression has no effect
C:\Documents and Settings\Mariusz\Pulpit\eTo\Server\Drift\gamemodes\Untitled.pwn(234) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Mariusz\Pulpit\eTo\Server\Drift\gamemodes\Untitled.pwn(234) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mariusz\Pulpit\eTo\Server\Drift\gamemodes\Untitled.pwn(234) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
When i try to put drift counter into gamemode...
Код:
public OnGameModeInit()
{
for(new x=0;x<200;x++)
{
DriftTD[x] = TextDrawCreate(319.000000, 431.000000, " "); <- No This ?
DriftTD[x] = TextDrawCreate(319.000000, 431.000000, " "); <- Like This ?
TextDrawFont(DriftTD[x], 1);
TextDrawLetterSize(DriftTD[x], 0.500000, 1.600000);
TextDrawColor(DriftTD[x], 0xFFFFFFFF);
TextDrawSetOutline(DriftTD[x], 1);
TextDrawSetProportional(DriftTD[x], 1);
}
SetTimer("AngleUpdate" , 700, true);
SetTimer("LicznikDriftu", 500, true);
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}