Jump to content

Jeremy

Members
  • Posts

    98
  • Joined

  • Last visited

Everything posted by Jeremy

  1. if ($3 == !buybeer) { if ($mta.area($1,$2) == Mansion) { if ($4 != $null) { if ($calc($readini(RPG2.ini,Cash,$mta.name($1,$2))) < $readini(RPG2.ini,beercost,beercost) * $4) { mta.msg $1 $2 Not enough money } else { !writeini -n $+("RPG2.ini") Cash $mta.name($1,$2) $calc($readini(RPG2.ini,Cash,$mta.name($1,$2)) - $readini(RPG2.ini,beercost,beercost) * $4))} !writeini -n $+("RPG2.ini") beeramount $mta.name($1,$2) $calc($readini(RPG2.ini,beeramount,$mta.name($1,$2)) + $4))} mta.msg $1 $2 $mta.name($1,$2) 's current balance is $ $calc($readini(RPG2.ini,Cash,$mta.name($1,$2))) dollar(s), and he/she currently has $readini(RPG2.ini,beeramount,$mta.name($1,$2)) beer(s). } } else { mta.msg $1 $2 Error, !buybeer } } else { mta.msg $1 $2 You must be in Mansion } } Try that
  2. Wow Good Job Tommis write "RecordBook" FirstMTA:SAaddon [XE]Tommis Keep up the good work.
  3. Jeremy

    MTA:MA Scripting

    Umm no, ill make you one tho.
  4. Jeremy

    MTA:MA Scripting

    Sure punk here it is on *:SIGNAL:mta.command: { var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ($3 == !skin) { if (%a == $null) { mta.say $1 $mta.name($1,$2) Skin: $mta.skin($1,$2).name } elseif ($mta.name($1,%a) == Unknown) { mta.say $1 Error, ID Not Present! } else { mta.say $1 $mta.name($1,%a) Skin: $mta.skin($1,$4).name } } }
  5. Well First u should write ur own script because i seen u were using Jax and Oli's clan RPG and Oli's mtma:grs. those scripts are huge, but then again both of thoose scripts have huge dialogs which takes up about half the script
  6. Well first you should get to know theese. ;//////////// ;// Events // ;//////////// on *:SIGNAL:mta.action: { ;Parameters: ;$1 = Server ;$2 = ID ;$3- = Action } on *:SIGNAL:mta.adcon: { ;Parameters: ;$1 = Server ;$2 = ID ;$3- = Text } on *:SIGNAL:mta.addban: { ;Parameters: ;$1 = Server ;$2 = 0/1 (failed/success) ;$3 = IP } on *:SIGNAL:mta.command: { ;Parameters: ;$1 = Server ;$2 = ID ;$3- = Command } on *:SIGNAL:mta.connect: { ;Parameters: ;$1 = Server } on *:SIGNAL:mta.death: { ;Parameters: ;$1 = Server ;$2 = ID } on *:SIGNAL:mta.disconnect: { ;Parameters: ;$1 = Server ;$2 = 0/1/2/3/4/5/6/7 (User/Incorrect password/Already connected/Timed-out/To much connections/Banned/Name in use/Invalid Version) } on *:SIGNAL:mta.endrace: { ;Parameters: ;$1 = Server ;$2 = Race ID ;$3 = Winner ID } on *:SIGNAL:mta.freeze: { ;Parameters: ;$1 = Server ;$2 = ID ;$3 = Trigger ID ;$4 = 0/1 (failed/success) } on *:SIGNAL:mta.join: { ;Parameters: ;$1 = Server ;$2 = ID } on *:SIGNAL:mta.login: { ;Parameters: ;$1 = Server ;$2 = ID ;$3 = Level ;$4 = 0/1/2 (success/failed/already logged in) } on *:SIGNAL:mta.mute: { ;Parameters: ;$1 = Server ;$2 = ID ;$3 = Trigger ID ;$4 = 0/1 (failed/success) } on *:SIGNAL:mta.nick: { ;Parameters: ;$1 = Server ;$2 = ID } on *:SIGNAL:mta.part: { ;Parameters: ;$1 = Server ;$2 = ID ;$3 = 0/1/2/3 (parted/kicked/banned/timed-out) } on *:SIGNAL:mta.pm: { ;Parameters: ;$1 = Server ;$2 = ID ;$3 = ToID ;$4 = Text } on *:SIGNAL:mta.quit: { ;Parameters: ;None } on *:SIGNAL:mta.startrace: { ;Parameters: ;$1 = Server ;$2 = Race ID ;$3 = 0/1/2 (success,failed,no players) } on *:SIGNAL:mta.racelist: { ;Parameters: ;$1 = Server } on *:SIGNAL:mta.setpassword: { ;Parameters: ;$1 = Server ;$2 = 0/1/2 (failed/success/disabled) } on *:SIGNAL:mta.setmaxplayers: { ;Parameters: ;$1 = Server ;$2 = 0/N (failed,set to N) } on *:SIGNAL:mta.shutdown: { ;Parameters: ;$1 = Server ;$2 = 0/1/2 (success/waiting/disabled) } on *:SIGNAL:mta.start: { ;Parameters: ;None } on *:SIGNAL:mta.text: { ;Parameters: ;$1 = Server ;$2 = ID ;$3- = Text } on *:SIGNAL:mta.unban: { ;Parameters: ;$1 = Server ;$2 = 0/1 (failed/success) ;$3 = IP } on *:SIGNAL:mta.unfreeze: { ;Parameters: ;$1 = Server ;$2 = ID ;$3 = Trigger ID ;$4 = 0/1 (failed/success) } on *:SIGNAL:mta.unmute: { ;Parameters: ;$1 = Server ;$2 = ID ;$3 = Trigger ID ;$4 = 0/1 (failed/success) }
  7. Jeremy

    MTA:MA Scripting

    on *:SIGNAL:mta.join: { mta.text $1 Welcome $mta.nick($1,$2) } */ EDIT thanks duff missed that
  8. Jeremy

    MTA:MA Scripting

    Here you go on *:SIGNAL:mta.command: { if ($3 == !skin) { if ($4 == $null) { mta.say $1 $mta.name($1,$2) Skin: $mta.skin($1,$2).name } elseif ($mta.name($1,$4) == Unknown) { mta.say $1 Error, ID Not Present! } else { mta.say $1 $mta.name($1,$4) Skin: $mta.skin($1,$4).name } } }
  9. Jeremy

    MTA:MA Scripting

    Here you go on *:SIGNAL:mta.command: { if ($3 == !skin) { if ($4 == $null) { mta.say $1 $mta.name($1,$2) Skin: $mta.skin($1,$2).name } elseif ($mta.name($1,$4) == Unknown) { mta.say $1 Error, ID Not Present! } else { mta.say $1 $mta.name($1,$4) Skin: $mta.skin($1,$4).name } } }
  10. Wow, Works thank you for the fast help.
  11. Wow, Works thank you for the fast help.
  12. Okay I get this error when i try to start MTA:SA I have reinstaled about 10 times and i have tried all the mirrows i have reinstaled GTA:SA and i still get the same error i am using the first version of gta:sa havent patched it with cold coffee. Help please.
  13. Okay I get this error when i try to start MTA:SA I have reinstaled about 10 times and i have tried all the mirrows i have reinstaled GTA:SA and i still get the same error i am using the first version of gta:sa havent patched it with cold coffee. Help please.
  14. Your best bet is to make your own, what you are asking for is a pretty big script takes time.
  15. you need to download Mtama GRS 4.14 and load that
  16. Make your own or just use this http://forum.mtavc.com/viewtopic.php?t=14949 .
  17. You need to download MTAServer.exe Patch 1. ATM i dont see the link since MTASA swept them out. Also i would start a MTASA server since thats where everyone is MTAVC will be empty i no time. I heard MTASA servers use less bandwitch any ways. That my two cents
  18. Jeremy

    MTA:MA Scripting

    Here you go punk on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ($3 == !setrank) { if ($4 == $null || $5 == $null) { mta.msg $1 $2 Error, !setrank } elseif ($mta.name($1,%a) == Unknown) { mta.say $1 Error, ID Not Present! } else { writeini "mtarank.ini" rank $mta.name($1,%a) $5- mta.say $1 Setrank $mta.name($1,%a) $5- } } if ($3 == !rank) { if ($4 == $null) { mta.say $1 $mta.name($1,$2) rank - $readini "mtarank.ini" rank $mta.name($1,$2) } else { mta.say $1 $mta.name($1,%a) rank - $readini "mtarank.ini" rank $mta.name($1,%a) } } } commands: !setrank !rank or !rank
×
×
  • Create New...