Author Topic: Mounting a image to a player with serverCmd  (Read 1912 times)


That shouldn't change anything.
This. If anything, that'd break it. That's really weird, but if it works, fantastic.


In serverCmdMakeMeFire
Change MakeEmitter(); to MakeEmitter(%client);

Nope.
I've been quoted out of context! That's not at all what I said.

This is what made it work, here is the code.

Code: [Select]
function serverCmdMakeMeFire(%client)
{
if(%client.IsAdmin)
  {
announce("<color:FFFFFF>" SPC %client.getPlayerName() SPC "<color:FFFF00>is now on fire.");
%client.player.mountImage("PlayerRainbowFireImage", 3);
  }
  else
  {
  %client.chatmessage("<color:FFFFFF>You must be admin to use this command.");
  }
}

I have also made a Event_setEmitter and it works pretty well. I have 5 different images in the event, I will be making more soon.