06.11.2009, 12:59
In my GM i've got a variable called MiniWar, when it's 1 I wan't to display "World War" As gamemode text, if it's 2 I wan't to have "Tank War" as GM text...
This is what i've got;
It compiles without errors, but it doesn't show the GM text...
What am i doing wrong?
Thanks (:
EDIT: when I use it the server doesn't responds...
This is what i've got;
Код:
new WarName[48];
if(MiniWar == 1)
{
WarName = "World War";
}
else if(MiniWar == 2)
{
WarName = "World War";
}
new string[48];
format(string, sizeof(string), "%s", WarName);
SetGameModeText(string);
What am i doing wrong?
Thanks (:
EDIT: when I use it the server doesn't responds...

