therenex Posted January 16, 2008 Share Posted January 16, 2008 i want to make a 'dm' mode, i did this in sa:mp, now i want to do it in lua, but seems to work different. for example, at joining players arent in dm mode, but when they type /dm the deathmatch mode is activated: their weapons are removed, theyre teleported to a special island and when they die, they appear again in that island. so if now they type /dmoff they get spawned normally and everything runs normally (they weps are back and when they die they spawn normally again). if you want i can post how i did it on pawn. thanks Link to comment
Silverfish Posted January 16, 2008 Share Posted January 16, 2008 Uuh, if you don't know how to use LUA you should read some tutorials and check out the wiki. Should be pretty easy to do that kind of thing, good luck. Link to comment
chiefwhosm Posted January 16, 2008 Share Posted January 16, 2008 And also check out the different gamemodes out of the resource zip files. You'll notice the similarities between mta and samp scripting very quickly. Link to comment
therenex Posted January 16, 2008 Author Share Posted January 16, 2008 i know about lua, im making a freeroam now, but damn i dont got how to make it work... i tried with somehting like local dmMode = {} and i did all the commands and shit but they dont work -.- Link to comment
Silverfish Posted January 16, 2008 Share Posted January 16, 2008 Give us the code, we can't know what's wrong with it just because something is . And we wouldn't gain anything from the pawn script as MTADM uses LUA, so give us the LUA script. Link to comment
therenex Posted January 17, 2008 Author Share Posted January 17, 2008 mmm dont care. i have a bigger problem with my script and i need to fix it before starting with the dm. 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