Jump to content

!map


eeliottheking

Recommended Posts

Posted

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?

Posted

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
} 

coz_sig_oob.png

Server Blog | Server quickinfo

STFU and dont bug the mta team with ''when is DM comming''

or risk theyre spending more time explaining they're still working on DM than actually getting work done :shock:

  • Recently Browsing   0 members

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