4 posts,
2 people · 830 views
Thread Rating: ★★★★★
| closedmultiple map names |
| Started by meathead on 01-07-2008, 12:11 PM |
started this thread
Posts: 337Threads: 23
Joined: Aug 2007
01-07-2008, 12:11 PM
#1
Is possible for this line to have more than one map name?rnOr do I just repeat the code with a different map name?rnrnif(is_user_connected(id) && equali(mapname,"dod_hill_classic"))rnrn(from Diamonds sniperlimits for hillclassic plugin)rnrnMeathead Hobo
posted here
Posts: 2,068Threads: 103
Joined: May 2005
01-07-2008, 02:26 PM
#2
you could do something like:nnnif(is_user_connected(id) && (equali(mapname,"dod_hill_classic") || equali(mapname,"dod_donner") || equali(mapname,"dod_zafod"))nnwhich would translate to something like the user has to be connected & the map has to be hill OR donner OR zafod
started this thread
Posts: 337Threads: 23
Joined: Aug 2007
01-07-2008, 05:50 PM
#3
Thanks, still trying to learn!
posted here
Posts: 2,068Threads: 103
Joined: May 2005
01-07-2008, 10:06 PM
#4
yup.. no problem :-)

