Compile errors
#1

I have been checking my script for like 5 times now and cant find the problem..I'd appreciate if you guys would help out a little
Код:
E:\SAMP\gamemodes\FStudios.pwn(193) : error 017: undefined symbol "dcmd_paintcar"
E:\SAMP\gamemodes\FStudios.pwn(973) : error 017: undefined symbol "Playerid"
E:\SAMP\gamemodes\FStudios.pwn(987) : warning 217: loose indentation
E:\SAMP\gamemodes\FStudios.pwn(1119) : error 029: invalid expression, assumed zero
E:\SAMP\gamemodes\FStudios.pwn(1119) : error 004: function "OnPlayerEnterVehicle" is not implemented
E:\SAMP\gamemodes\FStudios.pwn(1121) : error 017: undefined symbol "vehicleid"
E:\SAMP\gamemodes\FStudios.pwn(1126) : error 017: undefined symbol "vehicleid"
E:\SAMP\gamemodes\FStudios.pwn(1129) : error 017: undefined symbol "vehicleid"
E:\SAMP\gamemodes\FStudios.pwn(1131) : error 017: undefined symbol "vehicleid"
E:\SAMP\gamemodes\FStudios.pwn(1134) : error 017: undefined symbol "vehicleid"
E:\SAMP\gamemodes\FStudios.pwn(1140) : error 029: invalid expression, assumed zero
E:\SAMP\gamemodes\FStudios.pwn(1140) : error 004: function "OnPlayerRequestClass" is not implemented
E:\SAMP\gamemodes\FStudios.pwn(1142) : error 001: expected token: ";", but found "{"
E:\SAMP\gamemodes\FStudios.pwn(1143) : error 017: undefined symbol "SetupPlayerForClassSelection"
E:\SAMP\gamemodes\FStudios.pwn(1147) : warning 225: unreachable code
E:\SAMP\gamemodes\FStudios.pwn(1147) : error 017: undefined symbol "dcmd_paintcar"
E:\SAMP\gamemodes\FStudios.pwn(1149) : error 001: expected token: ";", but found "{"
E:\SAMP\gamemodes\FStudios.pwn(1155) : error 017: undefined symbol "params"
E:\SAMP\gamemodes\FStudios.pwn(1167) : warning 225: unreachable code
E:\SAMP\gamemodes\FStudios.pwn(1167) : error 029: invalid expression, assumed zero
E:\SAMP\gamemodes\FStudios.pwn(1167) : error 004: function "OnPlayerSpawn" is not implemented
E:\SAMP\gamemodes\FStudios.pwn(1174) : warning 225: unreachable code
E:\SAMP\gamemodes\FStudios.pwn(1174) : error 017: undefined symbol "SetupPlayerForClassSelection"
E:\SAMP\gamemodes\FStudios.pwn(1185) : error 029: invalid expression, assumed zero
E:\SAMP\gamemodes\FStudios.pwn(1185) : error 004: function "GameModeExitFunc" is not implemented
E:\SAMP\gamemodes\FStudios.pwn(1189) : error 030: compound statement not closed at the end of file (started at line 183)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


22 Errors.
Heres the lines that cause the problem
http://pastebin.com/HfQTaVVt
Reply
#2

pawn Код:
new vehicleid = GetPlayerVehicleID(Playerid);

change to

new vehicleid = GetPlayerVehicleID(playerid);
which errors do you got now?
Reply
#3

Quote:
Originally Posted by SpiderWalk
Посмотреть сообщение
which errors do you got now?
Nothing changed in the errors
Reply
#4

http://pastebin.com/4EHAVRfq

you check now ?
Reply
#5

Nope..
Reply
#6

Found one extra brace but still giving me some errors..

E:\SAMP\gamemodes\FStudios.pwn(65) : warning 217: loose indentation
E:\SAMP\gamemodes\FStudios.pwn(182) : error 029: invalid expression, assumed zero
E:\SAMP\gamemodes\FStudios.pwn(182) : error 004: function "OnPlayerCommandText" is not implemented
E:\SAMP\gamemodes\FStudios.pwn(186) : error 017: undefined symbol "cmdtext"
E:\SAMP\gamemodes\FStudios.pwn(18 : error 017: undefined symbol "playerid"
E:\SAMP\gamemodes\FStudios.pwn(189) : error 017: undefined symbol "playerid"
E:\SAMP\gamemodes\FStudios.pwn(190) : error 017: undefined symbol "playerid"
E:\SAMP\gamemodes\FStudios.pwn(193) : warning 217: loose indentation
E:\SAMP\gamemodes\FStudios.pwn(193) : error 017: undefined symbol "cmdtext"
E:\SAMP\gamemodes\FStudios.pwn(193) : error 029: invalid expression, assumed zero
E:\SAMP\gamemodes\FStudios.pwn(193) : warning 215: expression has no effect
E:\SAMP\gamemodes\FStudios.pwn(193) : error 001: expected token: ";", but found "]"
E:\SAMP\gamemodes\FStudios.pwn(193) : fatal error 107: too many error messages on one line

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


10 Errors.
Reply
#7

Quote:
Originally Posted by McCarthy
Посмотреть сообщение
Found one extra brace but still giving me some errors..

E:\SAMP\gamemodes\FStudios.pwn(65) : warning 217: loose indentation
E:\SAMP\gamemodes\FStudios.pwn(182) : error 029: invalid expression, assumed zero
E:\SAMP\gamemodes\FStudios.pwn(182) : error 004: function "OnPlayerCommandText" is not implemented
E:\SAMP\gamemodes\FStudios.pwn(186) : error 017: undefined symbol "cmdtext"
E:\SAMP\gamemodes\FStudios.pwn(18 : error 017: undefined symbol "playerid"
E:\SAMP\gamemodes\FStudios.pwn(189) : error 017: undefined symbol "playerid"
E:\SAMP\gamemodes\FStudios.pwn(190) : error 017: undefined symbol "playerid"
E:\SAMP\gamemodes\FStudios.pwn(193) : warning 217: loose indentation
E:\SAMP\gamemodes\FStudios.pwn(193) : error 017: undefined symbol "cmdtext"
E:\SAMP\gamemodes\FStudios.pwn(193) : error 029: invalid expression, assumed zero
E:\SAMP\gamemodes\FStudios.pwn(193) : warning 215: expression has no effect
E:\SAMP\gamemodes\FStudios.pwn(193) : error 001: expected token: ";", but found "]"
E:\SAMP\gamemodes\FStudios.pwn(193) : fatal error 107: too many error messages on one line

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


10 Errors.
you can post the full code ?
Reply
#8

Yeah sure..its no big secret.. xD
http://pastebin.com/wVwxUZVv
Reply
#9

add this:
Код:
 #pragma tabsize 0
at the top of your script somewhereto solve the first error..
It's not much, but it's something XD

EDIT:
If i'm looking good, you should add a } above return 1; in the gamemodeinit..
Reply
#10

Quote:
Originally Posted by Stefans94
Посмотреть сообщение
EDIT:
If i'm looking good, you should add a } above return 1; in the gamemodeinit..
Just made it worse
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)