SA-MP Forums Archive
How to fix it? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to fix it? (/showthread.php?tid=389412)



How to fix it? - xtr3mepWnaGe - 01.11.2012

E:\GTA SA\The Godfather\gamemodes\MyRP.pwn(16932) : error 017: undefined symbol "distance"
E:\GTA SA\The Godfather\gamemodes\MyRP.pwn(16932) : warning 215: expression has no effect
E:\GTA SA\The Godfather\gamemodes\MyRP.pwn(16932) : error 001: expected token: ";", but found ")"
E:\GTA SA\The Godfather\gamemodes\MyRP.pwn(16932) : error 029: invalid expression, assumed zero
E:\GTA SA\The Godfather\gamemodes\MyRP.pwn(16932) : fatal error 107: too many error messages on one line

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

I got 5 errors. How do i fix this?

Quote:

Line 16932: HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0);




Re: How to fix it? - xtr3mepWnaGe - 02.11.2012

BUMP.


Re: How to fix it? - RLGaming - 02.11.2012

1. Don't use NGRP script.
2. Change .distance to .streamdistance and update your streamer.