Kaiser
I ruin franchises

Posts: 2017
Registered: 08-00 |
I am trying to make this script activate only if the game is in deathmatch mode.
here's a test script I was trying to do, but Eternity keeps crashing on me even if this script is not activated, it will start up after I erase this script entirely. How can I get the gamemode() function to work right?
example script:
script 2
{
if(gamemode() == 0)
{
message("single player on");
}
elseif(gamemode() == 1)
{
message("coop on");
}
elseif(gamemode() == 2)
{
message("deathmatch on");
}
}startscript(2);
can anyone find out why this keeps causing the port to crash?
|