From RAGE Multiplayer Wiki
Jump to: navigation, search

Creates an explosion at given coords. This function is missing last argument, so you cant create explosion with damage.

Syntax, y, z, explosionType, damageScale, isAudible, isInvisible, cameraShake);

Required Arguments

  • x: float
  • y: float
  • z: float
  • explosionType: int
  • damageScale: float
  • isAudible: Boolean (Trigger explosion sound)
  • isInvisible: Boolean (Trigger visibility)
  • cameraShake: float

Return value

  • Undefined


Client-Side'ban', (player, target) => {
	let newTarget =;
	if(!target || isNaN(target)) return player.outputChatBox("Syntax: /ban [playerID]");
	if(newTarget === null) return player.outputChatBox("There is no player online with the ID given.")
	newTarget.outputChatBox("You have been banned from the server.");

See also

Template:Fire s function c