Untitled

By Colorant Giraffe, 2 Years ago (2017-01-15 16:37:56), written in Lua, viewed 346 times.
URL https://paste.godclan.hu/view/dmSFczdI Embed
Download Paste or View RawExpand paste to full width of browser
  1. function onChat ( _, messageType )
  2.         if isPedDead(source) and messageType == 0 and not chat then
  3.                 chat = true
  4.     elseif ( messageType == 0 and not chat ) then
  5.         cancelEvent ( )
  6.     end
  7. end
  8. addEventHandler ( "onPlayerChat", root, onChat )

Reply to "Untitled"

Here you can reply to the paste above