Lua in samp.
#1

Hello there! I saw Lua wrapper, but it (as i noticed in comments) don't support 0.3a. I want just to add little mods to my Pawn script, but only lua can do this. And i ask here. How i can add lua to my samp server? I've tried by creating directory "luascripts", inserting there file "keys.lua", and in config "luascripts keys.lua", but server didn't start. I've tried "luascripts keys". Crash too. Also, do anyone there know lua? How can i get event of gamemodeinit? I've tried:

Код:
function OnGameModeInitHandler
print "Lock and load!";
end
addEventHandler("OnGameModeInit", rootElement, OnGameModeInitHandler);
I'm noob, don't hit me! sorry for bad english, hope You've understand all.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)