Jump to content

Wanted Level Problem


Recommended Posts

Hi all i made a script:

on *:SIGNAL:mta.kill:{ 
!writeini -n $+(",$grs.dir,wanted.ini") $mta.name($1,$2) Level $calc($readini(wanted.ini,level,$mta.name($1,$2)) + 1) 
mta.msg $1 $2 You earned 1500 for killing a level $readini($rpg.dir $+ Wanted.ini,$mta.name($1,$4),Level) criminal. Your wanted level is now: $readini($rpg.dir $+ Wanted.ini,$mta.name($1,$2),Level) 
} 

Everytime u kill someone it needs to do + 1

But it stays on 1 can someone fix this for me ?

And it sends a PM to the WRONG PERSON

It send it to the one who died.

And i need to send to the one who killed him.

Thanks,

Robbin237

Link to comment
Hi all i made a script:

on *:SIGNAL:mta.kill:{ 
!writeini -n $+(",$grs.dir,wanted.ini") $mta.name($1,$2) Level $calc($readini(wanted.ini,level,$mta.name($1,$2)) + 1) 
mta.msg $1 $2 You earned 1500 for killing a level $readini($rpg.dir $+ Wanted.ini,$mta.name($1,$4),Level) criminal. Your wanted level is now: $readini($rpg.dir $+ Wanted.ini,$mta.name($1,$2),Level) 
} 

Everytime u kill someone it needs to do + 1

But it stays on 1 can someone fix this for me ?

And it sends a PM to the WRONG PERSON

It send it to the one who died.

And i need to send to the one who killed him.

Thanks,

Robbin237

is this for mta .5 os sa .. or ?

SIGNAL:mta.kill = killed person

so then mta.msg $1 $2 will say it to the killed person

youll need to figure out which players are near

and give credits to the one within 2 meters from the killed one ..

but then still it wouldnt be perfect because when someone hits a barrel it will kill him , and if your lucky give money to the person next to him while he explodes as well :D

nice idea tho

Link to comment
Hi all i made a script:

on *:SIGNAL:mta.kill:{ 
!writeini -n $+(",$grs.dir,wanted.ini") $mta.name($1,$2) Level $calc($readini(wanted.ini,level,$mta.name($1,$2)) + 1) 
mta.msg $1 $2 You earned 1500 for killing a level $readini($rpg.dir $+ Wanted.ini,$mta.name($1,$4),Level) criminal. Your wanted level is now: $readini($rpg.dir $+ Wanted.ini,$mta.name($1,$2),Level) 
} 

Everytime u kill someone it needs to do + 1

But it stays on 1 can someone fix this for me ?

And it sends a PM to the WRONG PERSON

It send it to the one who died.

And i need to send to the one who killed him.

Thanks,

Robbin237

is this for mta .5 os sa .. or ?

SIGNAL:mta.kill = killed person

so then mta.msg $1 $2 will say it to the killed person

youll need to figure out which players are near

and give credits to the one within 2 meters from the killed one ..

but then still it wouldnt be perfect because when someone hits a barrel it will kill him , and if your lucky give money to the person next to him while he explodes as well :D

nice idea tho

Well seeing the $grs dir im thinking this is for mta:vc

robbin try this

on *:SIGNAL:mta.kill:{ 
!writeini -n $+(",$grs.dir,wanted.ini") $mta.name($1,$3) Level $calc($readini(wanted.ini,level,$mta.name($1,$3)) + 1) 
mta.msg $1 $3 You earned 1500 for killing a level $readini($rpg.dir $+ Wanted.ini,$mta.name($1,$2),Level) criminal. Your wanted level is now: $readini($rpg.dir $+ Wanted.ini,$mta.name($1,$3),Level) 
} 

Link to comment
  • Recently Browsing   0 members

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