need help with 4 errors
#1

C:\Users\Jakob Rцnn\Desktop\(0.3d) The Life As Pilot\gamemodes\Pilotscript.pwn(657) : error 017: undefined symbol "YSI_g"
C:\Users\Jakob Rцnn\Desktop\(0.3d) The Life As Pilot\gamemodes\Pilotscript.pwn(657) : warning 215: expression has no effect
C:\Users\Jakob Rцnn\Desktop\(0.3d) The Life As Pilot\gamemodes\Pilotscript.pwn(657) : error 001: expected token: ")", but found ";"
C:\Users\Jakob Rцnn\Desktop\(0.3d) The Life As Pilot\gamemodes\Pilotscript.pwn(657) : error 036: empty statement
C:\Users\Jakob Rцnn\Desktop\(0.3d) The Life As Pilot\gamemodes\Pilotscript.pwn(657) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.


here we have little of it

public UpdateTextdraw()
{
new szString[40];
foreach ( Player, ID )


// AFK
if (GetPVarInt(i, "AFK") == 1) TextDrawShowForPlayer(i, afk);
else if (GetPVarInt(i, "AFK") == 0) TextDrawHideForPlayer(i, afk);
if (IsPlayerInAnyVehicle(i) && IsAirVehicle(GetPlayerVehicleID(i)))
Reply
#2

show the line got error
Reply
#3

here u go : foreach ( Player, ID )
Reply
#4

I had the same problem because I like to have spaces in the ( ).
But if you have space on the foreach( Something.., x ) it gives error.
pawn Код:
foreach (Player, ID ) // you can have space at the last ")" only not on the "(" at the foreach
Reply
#5

C:\Users\Jakob Rцnn\Desktop\(0.3d) The Life As Pilot\gamemodes\Pilotscript.pwn(657) : error 017: undefined symbol "YSI_g"
C:\Users\Jakob Rцnn\Desktop\(0.3d) The Life As Pilot\gamemodes\Pilotscript.pwn(657) : error 001: expected token: ")",

1) You need to define YSI_g
2) You need to change ; to ).
Reply
#6

Quote:
Originally Posted by Kukkurloom
Посмотреть сообщение
C:\Users\Jakob Rцnn\Desktop\(0.3d) The Life As Pilot\gamemodes\Pilotscript.pwn(657) : error 017: undefined symbol "YSI_g"
C:\Users\Jakob Rцnn\Desktop\(0.3d) The Life As Pilot\gamemodes\Pilotscript.pwn(657) : error 001: expected token: ")",

1) You need to define YSI_g
2) You need to change ; to ).
Haha! You made me laugh, after the boring studing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)