Vital Posted November 6, 2005 Posted November 6, 2005 Ok I Am Having A Problem On Oli's RPG script when you kill someone it gives them a directory link instead of cash for a !bounty Also when you get cash and all that stuff it goes in the money counter the pink one it doesnt go into !cash HELP PLEASE!!! THXS for the bounty this is what i have alias rpg.kill { if $rpg.cash($1,$2) > 0 || $rpg.bounty($1,$2) > 0 { if $rpg.cash($1,$2) > 0 { var %a = Cash: $chr(36) $+ $rpg.cash($1,$2) !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) cash $calc($rpg.cash($1,$3) + $rpg.cash($1,$2)) } if $rpg.bounty($1,$2) > 0 { var %a = %a $+ - Bounty: $chr(36) $+ $rpg.bounty($1,$2) } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) } mta.msg ($1,$3) Gained > %a } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) mta.msg $1 $2 Bounty risen by: $chr(36) $+ 1000 } } instead Says When I kill a person with a bounty level ist says: ** Admin PM send: Gained > !writeini -n "C:\Program Files\mIRC\mtama\1.ini" ID2- Bounty: $1000 but it doesnt do anything So If You Can Please Update That Code For Me Thanks! do i need to load 1.ini??? cause i just did but didnt test it Vital's RPG Server Is No More!
Aeron Posted November 6, 2005 Posted November 6, 2005 Ok I Am Having A Problem On Oli's RPG script when you kill someone it gives them a directory link instead of cash for a !bounty Also when you get cash and all that stuff it goes in the money counter the pink one it doesnt go into !cash HELP PLEASE!!! THXS for the bounty this is what i have alias rpg.kill { if $rpg.cash($1,$2) > 0 || $rpg.bounty($1,$2) > 0 { if $rpg.cash($1,$2) > 0 { var %a = Cash: $chr(36) $+ $rpg.cash($1,$2) !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) cash $calc($rpg.cash($1,$3) + $rpg.cash($1,$2)) } if $rpg.bounty($1,$2) > 0 { var %a = %a $+ - Bounty: $chr(36) $+ $rpg.bounty($1,$2) } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) } mta.msg ($1,$3) Gained > %a } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) mta.msg $1 $2 Bounty risen by: $chr(36) $+ 1000 } } instead Says When I kill a person with a bounty level ist says: ** Admin PM send: Gained > !writeini -n "C:\Program Files\mIRC\mtama\1.ini" ID2- Bounty: $1000 but it doesnt do anything So If You Can Please Update That Code For Me Thanks! do i need to load 1.ini??? cause i just did but didnt test it alias rpg.kill { var %a if $rpg.cash($1,$2) > 0 || $rpg.bounty($1,$2) > 0 { if $rpg.cash($1,$2) > 0 { %a = Cash: $chr(36) $+ $rpg.cash($1,$2) !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) cash $calc($rpg.cash($1,$3) + $rpg.cash($1,$2)) } if $rpg.bounty($1,$2) > 0 { %a = %a $+ - Bounty: $chr(36) $+ $rpg.bounty($1,$2) } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) } mta.msg ($1,$3) Gained > %a } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) mta.msg $1 $2 Bounty risen by: $chr(36) $+ 1000 } } "Never argue with an idiot. They bring you down to their level and beat you with experience." "Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."
Vital Posted November 7, 2005 Author Posted November 7, 2005 and can you tell me what the prob was that was straight Olis script it always comeback as a file dir. Vital's RPG Server Is No More!
Vital Posted November 7, 2005 Author Posted November 7, 2005 well it still doesnt work Vital's RPG Server Is No More!
Aeron Posted November 7, 2005 Posted November 7, 2005 well it still doesnt work Slap Oli to implent the fixed code. "Never argue with an idiot. They bring you down to their level and beat you with experience." "Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."
Oli Posted November 7, 2005 Posted November 7, 2005 well it still doesnt work Slap Oli to implent the fixed code. slap jax actually thats his stuff Proud member of Multi Theft Auto Founder of Full Metal Jacket Creator of MTA:mA:GRS http://www.mtafmj.com http://www.full-fat.com
MrJax Posted November 7, 2005 Posted November 7, 2005 Yeah and Jax is too busy The script sux ass anyway, just find another
Vital Posted November 8, 2005 Author Posted November 8, 2005 Any more ideas??? PLZ HELP! Vital's RPG Server Is No More!
Vital Posted November 9, 2005 Author Posted November 9, 2005 Any Ideas if you got !bounty working on your script by Oli can you tell me what the prob is? sorry i just really wanna fix it Vital's RPG Server Is No More!
Recommended Posts