Gangsti Posted February 15, 2011 Share Posted February 15, 2011 Well I'm a pretty good scripter. But I have problem and I have no Idea how to solve it. Well when I'm making a race map (I'm professional maps maker) I want to make a car look different, like swap dff file and txd. When I script it don't work in game. Then I tried the easiest script like: outputChatBox("test") and it didn't worked. So when I checked it id didn't worked. I asked some people and they said they have no idea why it don't work. So none of the scripts work just nothing. Link how I did it : http://img806.imageshack.us/i/pic1qj.png/ Inside of script: http://img204.imageshack.us/i/pic2xpk.png/ Pleas Help me!! Link to comment
Gangsti Posted February 15, 2011 Author Share Posted February 15, 2011 Pleas! Answer me! Link to comment
Ballasbuster Posted February 15, 2011 Share Posted February 15, 2011 hmm I got this problem too. In host game script with map doesn't work... And you must change map name race-[DD]MapName Link to comment
Aibo Posted February 15, 2011 Share Posted February 15, 2011 any messages in server console? Link to comment
Izam Posted February 15, 2011 Share Posted February 15, 2011 Working: [DD]DestructionDerby (No spaces in name) Not working: [DD] Destruction Derby ( Dont use spaces in name if you got a script inside) This only counts if you have a script added inside the map Link to comment
Gangsti Posted February 15, 2011 Author Share Posted February 15, 2011 ballasbuster yo umean if I will put "race-" at the front of map name all the scritps will work? Link to comment
Gangsti Posted February 15, 2011 Author Share Posted February 15, 2011 Izam and I don't have spaces.. in my one so it should work.. Link to comment
SDK Posted February 16, 2011 Share Posted February 16, 2011 meta.xml is correct? (script must be clientside to use setWaterColor) Any messages from debug? /debugscript 3 Link to comment
proracer Posted February 16, 2011 Share Posted February 16, 2011 For new txd and dff model there is an example of script on Wiki: https://wiki.multitheftauto.com/wiki/EngineReplaceModel For setWaterColor.. Are you sure that script is correct, where is function name, event handler...? It's pretty weird Link to comment
Castillo Posted February 16, 2011 Share Posted February 16, 2011 proracer, you can use functions outside an event, didn't you know? Link to comment
proracer Posted February 16, 2011 Share Posted February 16, 2011 Sorry, I didn't know.Im in LUA for just little more than 1 month. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now