Jump to content

Ignition

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by Ignition

  1. Hope this works Try. this for the Client And see if it will work. outputChatBox("War_System|x[Dev-PoinT]x!",root,255,255,0) function xxx (ammo, killer, killerweapon, bodypart ) if (killer) and (killer ~= source ) then giveWeapon ( killer, 39, 2, true ) local sound = playSound("sounds/Siren.mp3") setSoundVolume(sound, 0.5) outputChatBox(getPlayerName(killer) .." has Now a Special Weapon, watch out!", getRootElement(), 255, 255, 0) end end addEventHandler ("onClientPlayerWasted",getRootElement() , xxx) function outputWantedLevel () local wantedLvl = getPlayerWantedLevel ( ) if wantedLvl == 0 then outputChatBox ( "You clean", 0, 255, 0) else outputChatBox ( "You have "..wantedLvl.." Wanted stars!", 255, 0, 0) end end addEventHandler ( "onClientPlayerWasted", root, outputWantedLevel )
  2. This function allows you to register a custom event. did you read wiki? I suggest you to read wiki before post anything https://wiki.multitheftauto.com/wiki/AddEvent addEvent is only for Custom events Sorry about that i misunderstood the script.
  3. I'm not really sure. Its probably a function on the Wiki or something. Btw nice video.
  4. If you've seen it on a server on Mta it probably is possible
  5. Can't help you if theres no code
×
×
  • Create New...