Script errors
#1

Hello i have one script.I have few errors.I think they are from the YSI
Here are they

Код:
C:\Users\Deyan\Desktop\CGRP\gamemodes\rp.pwn(49381) : error 017: undefined symbol "YSI_gSwheelmodels"
C:\Users\Deyan\Desktop\CGRP\gamemodes\rp.pwn(49381) : error 017: undefined symbol "YSI_gAwheelmodels"
C:\Users\Deyan\Desktop\CGRP\gamemodes\rp.pwn(49381) : warning 215: expression has no effect
C:\Users\Deyan\Desktop\CGRP\gamemodes\rp.pwn(49381) : error 001: expected token: ";", but found "]"
C:\Users\Deyan\Desktop\CGRP\gamemodes\rp.pwn(49381) : 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
#2

it would be easier for us to fix it if you show the code
Reply
#3

show us your code.
Reply
#4

Okay i will give you all of the codes and directory.

https://sampforum.blast.hk/showthread.php?tid=423627
Reply
#5

Anyone ?
Reply
#6

just give us the exact lines, nobody is going to download whole gamemode
Reply
#7

Код:
	new wheelmodels[17] = {1025,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1096,1097,1098};

	foreach(wheelmodels, I) {  /////This is the line in the error

		if (modelid == wheelmodels[I])
			return true;

	}

	return false;
}
Reply
#8

Someone got the same errors, and i fixed it. So, click here and try it if it works! Replace the codes to the ones in the pastebin! Don't forget for a backup of your previous code.
Reply
#9

Now i have new errors Xd

Код:
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(3401) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(4397) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(4419) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(4525) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(4600) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(4634) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(4706) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(4744) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(4764) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(4823) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(4862) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(4869) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(4939) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(5482) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(8865) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(8913) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(9387) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(10125) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(11860) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(11903) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(12089) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(12286) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(12620) : error 025: function heading differs from prototype
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(12685) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(12736) : error 017: undefined symbol "mysql_query"
C:\Users\Deyan\Desktop\Mafaka\gamemodes\rp.pwn(13440) : error 017: undefined symbol "mysql_query"

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


26 Errors.
Reply
#10

Anyone ?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)