Guest Posted August 24, 2006 Posted August 24, 2006 PLEASE SOMEONE HELP im new to all this and dnt understand where to put the script, does it go in mIRC ?[/b]
Brophy Posted August 24, 2006 Posted August 24, 2006 Please use the README and the Help topics before posting
CoZ Posted August 24, 2006 Posted August 24, 2006 welcome to the forum first of caps and BOLD are not a good way to ask questions but ill be friendly the simple explenation 1make sure server runs smooth 2get mirc l3oad script 4execute script 5connect to server which part goes wrong on your end ? 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
Guest Posted August 24, 2006 Posted August 24, 2006 sorry mate, its jus im really desprate, basicly i have my server running i have MTA:MA running i just want to kno where to put my new script on *:SIGNAL:mta.command:{ if ($3 == !jail) { var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ((Cop* iswm $mta.skin($1,$2).name) && ($rpg.criminal($1,%a) == $true) && ($2 != %a) && (%a != -1) && ($5 isnum)) { if (($rpg.area($1,%a) == Jail-Cells) || ($rpg.area($1,%a) == Big-Cell)) { mta.msg $1 $2 You jailed a criminal. Here's your reward. $100 mta.msg $1 %a Someone in the jail made you drop soap. Poor bastard. mta.say $1 $mta.name($1,%a) has been jailed for $5 Minutes! .timer 1 1 mta.msg $1 $2 You have earned $calc(1700 * $rpg.wantedlvl($1,%a)) $+ ! !writeini -n " $+ $scriptdir $+ suspectlist.ini" $mta.name($1,$2) cash $calc($rpg.cash($1,$2) + 100) !writeini -n " $+ $scriptdir $+ suspectlist.ini" $mta.name($1,%a) criminal 0 !writeini -n " $+ $scriptdir $+ suspectlist.ini" $mta.name($1,%a) Jailed Yes !.timer 1 $calc($calc($5 * 60) + 1) mta.say $1 $mta.name($1,%a) is now a free man! !.timer 1 $calc($5 * 60) !writeini -n " $+ $scriptdir $+ suspectlist.ini" $mta.name($1,%a) Jailed No } } } elseif (!suspect == $3) { var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if (Cop* iswm $mta.skin($1,$2).name) { if (%a == -1) mta.msg $1 $2 Error - Absent ID/Name if (%a == $2) mta.msg $1 $2 Error - Can't suspect yourself else { !writeini " $+ $scriptdir $+ suspectlist.ini" List $mta.name($1,%a) 1 !writeini " $+ $scriptdir $+ suspectlist.ini" Reasons $mta.name($1,%a) $iif($5,$5-,No Reason) mta.say $1 Server: $mta.name($1,%a) has been suspected by $mta.name($1,$2) : Reason: $iif($5,$5-,None) } } else mta.msg $1 $2 Server: You are not a cop. } elseif ($3 == !crime) { var %a = 0,%b while (%a <= $mta.maxplayers($1)) { if ($readini($scriptdir $+ suspectlist.ini,list,$mta.name($1,%a)) == 1) { mta.say $1 Wanted: $mta.name($1,%a) $+ , Reason: $readini($scriptdir $+ suspectlist.ini,reasons,$mta.name($1,%a)) } inc %a } } elseif (!wanted == $3) { var %a = 0,%b while (%a <= $mta.maxplayers($1)) { if ($readini($scriptdir $+ suspectlist.ini,list,$mta.name($1,%a)) == 1) { if (!%b) %b = $mta.name($1,%a) elseif (%b) %b = %b $+ , $mta.name($1,%a) } inc %a } mta.say $1 Wanted Players: $iif(%b,%b,None) } } on *:SIGNAL:mta.kill:{ if ($readini($scriptdir $+ suspectlist.ini,list,$mta.name($1,$2)) == 1) { if (Cop* iswm $mta.skin($1,$3).name) { mta.msg $1 $3 Killed a wanted player and u get 100$ of his bounty. !writeini rpg.ini cash mta.name($1,$32) $calc($readini(rpg.ini,cash,$mta.name($1,$2)) + 100) !remini " $+ $scriptdir $+ suspectlist.ini" List $mta.name($1,$2) !remini " $+ $scriptdir $+ suspectlist.ini" Reasons $mta.name($1,$2) !writeini rpg.ini cash $mta.name($1,$3) $calc($readini(rpg.ini,cash,$mta.name($1,$3)) + 100) } } please help
Jani Posted August 24, 2006 Posted August 24, 2006 (edited) In mIRC, press ALT+R and then ALT+R again and it should open up the Script Editor with the Remote tab selected. Click File->New, paste your script in there and then hit File->Save. Edited August 24, 2006 by Guest Make sure to use the Search feature before posting a new topic. Click here for detailed MTA: San Andreas server setup guides.
CoZ Posted August 24, 2006 Posted August 24, 2006 tried making a seperate .mrc file with that content and load it in mirc ? jani beat me to it .. i was eating 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
lil Toady Posted August 24, 2006 Posted August 24, 2006 make a new script, and do you even have mta:ma? Do not PM me, im not going to read it anyway.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now