Bleidex Posted February 4, 2010 Posted February 4, 2010 Could someone help me? I need a litlle script like if map starts, and map name is [DD] it would auto turn off ghostmode.(same with [FUN]). Also when start map with [DM] in map name start it would on ghostmode. Could anyone help me?
Dark Dragon Posted February 4, 2010 Posted February 4, 2010 (edited) actually the default race collisions setting for destruction derby (no cps, no respawn) maps is already "off". maybe you're not running the latest version? Edited February 4, 2010 by Guest Loads of fun for free! Also a lot of fun for free!
Bleidex Posted February 4, 2010 Author Posted February 4, 2010 i know that. but i want that if for example map [DD]bluhbluh start and ghostmode is auto off. but when after this map start [DM]blahblah ghostmode would turn on auto
dzek (varez) Posted February 5, 2010 Posted February 5, 2010 hmm i will start from adding a handler on map change, then checking what is the name of new map, then using a "string.find(s, pattern [, init [, plain]])" for determinigh which map we are playing, the turning on/off desired modes.. use wiki and google, and you can do that.. Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
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