prominte ze takle vecer otravuju, ale potreboval bych pomoc.
na samp foru jsem si nasel realtime jako fs. ale kdyz ho chci dat do modu tak mi to vyhodi errory.
gamemode.pwn(25) : error 020: invalid symbol name ""
gamemode.pwn(25) : error 020: invalid symbol name ""
gamemode.pwn(144) : error 029: invalid expression, assumed zero
gamemode.pwn(145) : error 029: invalid expression, assumed zero
gamemode.pwn(145) : warning 215: expression has no effect
gamemode.pwn(145) : error 001: expected token: ";", but found ")"
gamemode.pwn(145) : error 029: invalid expression, assumed zero
gamemode.pwn(145) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.
kod u radku 25 je:
25.new Text:Time, Text:Date;
26.
27. forward settime(playerid);
28.
29.new PlayerCar[MAX_PLAYERS], LockedCar[1000];
30.new Text:Locked;
31.new MsgLocked[MAX_PLAYERS], LockedTimer[MAX_PLAYERS];
32.forward RemoveLock(playerid);
a kod u radku 144-145 je:
141,public OnGameModeInit()
142.{
143. SetTimer("settime",1000,true);
144. Date = TextDrawCreate(547.000000,11.000000,"--");
145. TextDrawFont(Date,3);
146. TextDrawLetterSize(Date,0.399999,1.600000);
147. TextDrawColor(Date,0xFFFFFF);
148.
149. Time = TextDrawCreate(547.000000,28.000000,"--");
150.
151. TextDrawFont(Time,3);
152. TextDrawLetterSize(Time,0.399999,1.600000);
153. TextDrawColor(Time,0xFFFFFF);
cisla jsou radky. prosim pomocte mi