004 errors, need help, error includes funtions and undefined terms.
#5

UPDATE: I added some things like new ShowServerPassword and new RPName and now I have 4 errors

E:\crp.pwn(1220) : warning 219: local variable "ShowServerPassword" shadows a variable at a preceding level
E:\crp.pwn(1221) : error 001: expected token: ";", but found "-identifier-"
E:\crp.pwn(1221) : error 012: invalid function call, not a valid address
E:\crp.pwn(1221) : error 029: invalid expression, assumed zero
E:\crp.pwn(1221) : fatal error 107: too many error messages on one line

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


4 Errors.


here are the lines that the errors are on

main()
{
print("___________________________________________ ______________________________");
printf("> %s - %s by %s loaded.", GAMEMODE,MAP_NAME,DEVELOPER);
printf("> Server Name: %s", SERVER_NAME);
if (!strcmp("Yes", GAMEMODE_USE_VERSION, true)) { printf("> Gamemode: %s - %s", GAMEMODE,VERSION); } else { printf("> Gamemode: %s", GAMEMODE); } // Checking the "GAMEMODE_USE_VERSION" define, if "Yes" then set the gamemode text to the gamemode name & version, else set it to just the gamemode name.
printf("> Version: %s", VERSION);
printf("> Map: %s", MAP_NAME);
printf("> Website: %s", WEBSITE);
printf("> Developer: %s", DEVELOPER);
printf("> Last Update: %s", LAST_UPDATE);
printf("> Current Script Lines: %d", SCRIPT_LINES);
*1220* new ShowServerPassword
*1221* printf("> Password: %s", ShowServerPassword());GetPlayerHealth()
print("___________________________________________ ______________________________");
}



The new ShowServerPassword is one of the "new" codes I added and it only comes up with a warning. The line numbers are *1220* and *1221*.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)