How to fix this Error?
#1

When i compiled my script, this is error comes up but i have the latest streamer 2.6 by Icognito.
Код:
C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NRRP.pwn(17096) : error 017: undefined symbol "distance"
C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NRRP.pwn(17096) : warning 215: expression has no effect
C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NRRP.pwn(17096) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NRRP.pwn(17096) : error 029: invalid expression, assumed zero
C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NRRP.pwn(17096) : fatal error 107: too many error messages on one line

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


4 Errors.
This is the code
Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,10.0, .testlos = 1, .distance = 30.0);
		++iIndex;
Reply
#2

pawn Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5, 10.0, 1, 30.0);
Reply
#3

Quote:
Originally Posted by Reklez
Посмотреть сообщение
pawn Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5, 10.0, 1, 30.0);
Not working
Код:
C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NRRP.pwn(17096) : warning 213: tag mismatch
C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NRRP.pwn(52476) : error 017: undefined symbol "distance"
C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NRRP.pwn(52476) : warning 215: expression has no effect
C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NRRP.pwn(52476) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NRRP.pwn(52476) : error 029: invalid expression, assumed zero
C:\Documents and Settings\JUN.DELL\My Documents\Downloads\Games Installer\Next Revolution Roleplay\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NRRP.pwn(52476) : fatal error 107: too many error messages on one line

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


4 Errors.
Reply
#4

You need to change that line
Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,10.0, .testlos = 1, .distance = 30.0);
with this,or the error is on another line.
Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5, 10.0, 1, 30.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)