SA-MP Forums Archive
Scriptign Help me please - 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: Scriptign Help me please (/showthread.php?tid=358358)



Scriptign Help me please - Eugene. - 10.07.2012

I have a little problem, After I changed the server for 0.3e I got this Errors and I don't know what to do. Can someone help me out ? Thank you.

PS: A guy helped me to change that line and It was working but after I got another Errors and lots of errors and more errors and at the end I got around 90 errors.

Код:
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17086) : error 017: undefined symbol "distance"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17086) : warning 215: expression has no effect
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17086) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17086) : error 029: invalid expression, assumed zero
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17086) : fatal error 107: too many error messages on one line

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


4 Errors.
Line : 17086

Код:
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);
		++iIndex;



Re: Scriptign Help me please - 123EatLag - 10.07.2012

Il look past at the fact that your using an NGRP script but where it says distance change it to streamdistance


Re: Scriptign Help me please - Eugene. - 11.07.2012

Now I get

C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\RRP .pwn(17086) : warning 217: loose indentation
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\RRP .pwn(17087) : warning 217: loose indentation


Re: Scriptign Help me please - andrewgrob - 11.07.2012

lost identifaction is


thisislose
....thisislose < this is wrong
thisislose


thisislose
thisislose this is right
thisislose

check these 2 lines

17086
17087


---

if you find

)

(

on them lines u might just need to delete one or 2

or add one

and straigtenup the code


Re : Scriptign Help me please - Eugene. - 11.07.2012

Nothing added or removed. I just changed the distance into streamdistance and I got this warnings.


Re: Scriptign Help me please - andrewgrob - 11.07.2012

show me them 2 lines

show me 10 above it and below it


so show me 25 lines including them 2


Re : Scriptign Help me please - Eugene. - 11.07.2012

No needed anymore. I fixed it. Thank you anyway.