Jump to content

!map


eeliottheking

Recommended Posts

i want to make a script so that when some1 types !map it display

Current map is (map name)

have no idea what the code so that mta can pull the map name is though.

this will be for san andreas

all i know is it will start with

on *:SIGNAL:mta.command: {
 if ($3 == !map) mta.text $1 Current map is ?
}

anyone want to help a newb?

Link to comment

missing word is

$mta.race($1)

be warned it doesnt work after you have some hundred maps

so you could end up with something like

on *:SIGNAL:mta.command: {
 if ($3 == !map) && ($mta.race($1) != unknown) mta.text $1 Current map is  $mta.race($1)
elseif ($3 == !map) && ($mta.race($1) == unknown) mta.text $1 Sorry, mapname lost
} 

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...