Jump to content

Question about on *:SIGNAL:mta.kill: {


Randy96

Recommended Posts

This Deathmatch script i was wondering about

on *:SIGNAL:mta.kill: {
!writeini -n " $+ $Dm.dir $+ Dm.ini" Level $mta.name($1,$2) + 1
 mta.say $1 $mta.name($1,$2) Just Gained 1 Level
}

now would that add i level every time they kill some one aslo i want to know the funtion of when you die so i can -1 level

thanks Randy

screen05.jpg

Link to comment
This Deathmatch script i was wondering about

on *:SIGNAL:mta.kill: {
!writeini -n " $+ $Dm.dir $+ Dm.ini" Level $mta.name($1,$2) + 1
 mta.say $1 $mta.name($1,$2) Just Gained 1 Level
}

now would that add i level every time they kill some one aslo i want to know the funtion of when you die so i can -1 level

thanks Randy

No it wont, u need to use $calc(bla + bla), so it should look something like this:

on *:SIGNAL:mta.kill: {
!writeini -n " $+ $Dm.dir $+ Dm.ini" Level $mta.name($1,$2) $calc($readini($dm.dirdm.ini,level,$mta.name($1,$2)) + 1)
 mta.say $1 $mta.name($1,$2) Just Gained 1 Level
}

this would add 1, of course to subtract, u would just replace the + with a - :lol:

Also, ur pic seems a little on the large size :roll:

Link to comment
  • Recently Browsing   0 members

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