Posts: 19
Threads: 7
Joined: Feb 2011
Reputation:
0
Hey guys! On my PWN gamemode script at the top i have a line that says,
define GameModeName "myserver"
Which changes the server name.
I would like to change the server name in the server.cfg but when i delete that file it makes loads of errors.
And my gamemode is Blank Script when i have entered "Build v0.1"
Please help!! Thanks JamesJ899
Posts: 1,121
Threads: 139
Joined: Nov 2009
Reputation:
0
Can you show the errors and lines?
EDIT: You shouldn't delete the hostname line in cfg, if thats what you did. It will cause problems.
Posts: 19
Threads: 7
Joined: Feb 2011
Reputation:
0
I havent deleted the hostname in the server.cfg no!
Here are the error lines,
C:/Documents and Settings/Owner.E2237514E4F5BF/Desktop/UrbanTrucking/pawno/include/UT_PlayerCommands.inc(2901) : error 017: undefined symbol "GameModeName"
C:/Documents and Settings/Owner.E2237514E4F5BF/Desktop/UrbanTrucking/gamemodes/UrbanTrucking.pwn(69) : error 017: undefined symbol "GameModeName"
? Any ideas ? Thanks JameJ899
Posts: 19
Threads: 7
Joined: Feb 2011
Reputation:
0
I have put that already and it says
SetGameModeText("Build V0.1");
?? JamesJ899
Posts: 970
Threads: 190
Joined: Apr 2010
Reputation:
0
When i give SetGameModeText("STUNT") its shows Blank Script
How to change it?
Posts: 698
Threads: 107
Joined: Mar 2010
Reputation:
0
Remember "#define" with the "#"