Skip to content

Instantly share code, notes, and snippets.

@pdr52

pdr52/file.lua Secret

Created June 16, 2018 20:32
Show Gist options
  • Save pdr52/5eb0761ac7f6246ce52192b6f18c9eb3 to your computer and use it in GitHub Desktop.
Save pdr52/5eb0761ac7f6246ce52192b6f18c9eb3 to your computer and use it in GitHub Desktop.
script_name("test_1")
script_author("-")
local hook = require('lib.samp.events')
function main()
if (not isSampLoaded()) then return end
while not isSampAvailable() do wait(100) end
sampAddChatMessage("loaded", 0x00FF00);
end
function hook.onCreateObject (objectid, data)
--
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment