Author Topic: Console Commands New Thread  (Read 5938 times)

It should work, shouldn't it?
Even if it works, it's still wrong.

resetlighting(); - Fixes black screen when you load a map

findclientbyname("name").crash();   Crashes someone Else's computer

explodeclock(); - Explodes the clock in Bedroom and Kitchen.

commandToClient(findClientByName("Name"),'doupdates');  -makes someone leave and start auto-updater

changemap("[NAME]"); Changes the map

chuckNorris(); - Lets you put a brick in another brick
None of these work/do anything. Please remove them.

Is kill() even a default function?
Is spawnPlayer() a function either? I thorght it was instantrespawn()
GameConnection::SpawnPlayer(%client) is default.
Player::Kill(%player) is default.

There is also Player::InstantRespawn(%player).

Ok, I added the new commands. I will delete the v20 ones soon.

These type of threads always suffer from the same problem: many of the people who contribute to them don't have a full understanding of scripting, or even the commands they're contributing, and a lot of the listings end up being not fully explained, improperly used, not working, or outright nonexistent functions, and the OP doesn't check them

GameConnection::SpawnPlayer(%client) is default.
Player::Kill(%player) is default.

There is also Player::InstantRespawn(%player).
i thought instantRespawn was a GameConnection method

it's been awhile since it was relevant though

Locking the thread, I don't have time to check and add new commands.