Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Another Lua question
Re: Another Lua question [message #449336 is a reply to message #449326] Fri, 01 July 2011 19:50 Go to previous messageGo to previous message
hego64 is currently offline  hego64
Messages: 19
Registered: April 2011
Location: Hegoville
Karma:
Recruit
Ok, I'm going to sound dumb for this, but...How can I edit this for like my previous post about the spectate stuff?

function myscript:Killed(ID, obj, killer) 
	print("Killed", ID, obj, killer)
end


I mean, I can do normal stuff in lua like weps and vehs and stuff, but I'm no hand at functions that I don't know.

Thanks for all your help y'all

-Hego64

Edit: I tried the whole thing that you guys had given me unedited in the server, and I got an error in the FDS on line 176.
(prolly a dumb idea to try it without anything added, but I had just wanted to fiddle with it for a bit)

Line 176: Register_Script("myscript", "", myscript) --register script 


The error said that it couldn't have more than one script named the same thing.

[Updated on: Fri, 01 July 2011 19:55]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Level Edit Mayhem!
Next Topic: Shaders.dll Compiling Errors
Goto Forum:
  


Current Time: Sun Sep 01 16:23:05 MST 2024

Total time taken to generate the page: 0.01317 seconds