Mode: Unknown.
#1

Ok, so im added some textdraws, and now when i turn server on my mode name is 'Unknown'.
There is OnGameModeInit Callback and serverlog:



http://pastebin.com/ngYaAbxz
Reply
#2

What is the definition of 'GMT' ? Please show.
Reply
#3

#define GMT "L-TDM v1.2.7"
Reply
#4

Then there's no wonder why this doesn't work..
Just do
pawn Код:
SetGameModeText("L-TDM v1.2.7");
Reply
#5

Bullshit. Its doesnt only set gamemode name to Unknown, but mapname, hostname to server.cfg, not like in define. Im using define, to change it easy.
Reply
#6

You can't use define for strings - that's real bullshit.

Either make a global string variable and set it to a string before doing what you want, or just do as I said in the first post.

You're doin' it wrong
Reply
#7

eh, its work 1day back
Reply
#8

Quote:
Originally Posted by LarzI
Посмотреть сообщение
You can't use define for strings
Why not?
Reply
#9

Didn't work when I tried..

Then what did you change when it worked, as it's not working anymore.. ?
Reply
#10

Quote:
Originally Posted by LarzI
Посмотреть сообщение
You can't use define for strings - that's real bullshit.

Either make a global string variable and set it to a string before doing what you want, or just do as I said in the first post.

You're doin' it wrong
#define Gamemode "Blank GM"

SetGameModeText(Gamemode);

Thats works, i use it myself >.>
Reply


Forum Jump:


Users browsing this thread: 10 Guest(s)