03.10.2012, 11:16
The first warnings:
are cause of that you've changed the original colour codes to another ones, try defining them with another names like "#define blue 0x0000BBAA" "#define orange 0xFF9900AA" and so on..
These three
means that you didnt put the script on the right place or either you didnt defined "playerid" & "PlayerInfo".
means that you didnt put ";" at the end after the bracket.
And about the "loose indentation" warning, put this on top of your script
Hope I helped you.
Код:
E:\X Generation Roleplay\gamemodes\UTRP.PWN(526) : warning 201: redefinition of constant/macro (symbol "COLOR_ORANGE") E:\X Generation Roleplay\gamemodes\UTRP.PWN(537) : warning 201: redefinition of constant/macro (symbol "COLOR_LIGHTRED") E:\X Generation Roleplay\gamemodes\UTRP.PWN(539) : warning 201: redefinition of constant/macro (symbol "COLOR_LIGHTGREEN") E:\X Generation Roleplay\gamemodes\UTRP.PWN(549) : warning 201: redefinition of constant/macro (symbol "COLOR_PURPLE") E:\X Generation Roleplay\gamemodes\UTRP.PWN(553) : warning 201: redefinition of constant/macro (symbol "COLOR_BLACK")
These three
Код:
E:\UT Generation Roleplay\gamemodes\UTRP.PWN(1321) : error 017: undefined symbol "PlayerInfo" E:\UT Generation Roleplay\gamemodes\UTRP.PWN(17183) : error 017: undefined symbol "playerid" E:\UT Generation Roleplay\gamemodes\UTRP.PWN(59745) : error 017: undefined symbol "szPlayerName"
Код:
E:\UT Generation Roleplay\gamemodes\UTRP.PWN(17186) : error 001: expected token: ";", but found "-identifier-"
And about the "loose indentation" warning, put this on top of your script
Код:
#pragma tabsize 0