Jump to content

MTAMA Scripting


Si|ent

Recommended Posts

  • Replies 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted
Okay the idea..

let members logg ip's off suspected cheates in a ini file.. so that a admin can check it later on and take action.

Ive come this far:

elseif (($3 == !suspect) &&  (%ismember. [ $+ [ $1 ] $+ . $+ [ $2 ] ] == true)) {
  writeini "mtasuspect.ini" suspect $mta.name($1,$2) + $mta.name($1,$4) $+ 's ip: $mta.ip($1,$4) $4-
  mta.say $1 $mta.name($1,$4) $+ 's ip: $mta.ip($1,$4) is noted as a suspected cheater.
}

it works but it overwrites it when they logg a next suspect later on...

and I don't know how to make it so that it returns an error when they don't give a id or/and reason

any idea's would be handy

greetz

ill add this to MTA:mA:GRS v2.30 along with the newest Scripts Wizard u ppl r gonna love so much Wink

you gonna add that..?? it's not even working..:) that's why I posted and I hoped for an answer.. :?

ignorance has taken over we gotta take the power back bam, here's the plan mother fuck uncle sam

Posted

hahha.. okay..

got it this far with a lot of help.. :shock:

if (($3 == !suspect) && (%ismember. [ $+ [ $1 ] $+ . $+ [ $2 ] ] == true)) {
 if ($4 == $null) {
   mta.say $1 Error! !suspect 
 }
 if ($mta.name($1,$4) == Unknown) {
   mta.say $1 ID Not Present!
 }
 if ($5 == $null) {
   mta.say $1 Please giv a reason!
 }
 else {
   mta.say $1 $mta.name($1,$4) $+ 's IP: $mta.ip($1,$4) added to the suspect list !
   write mtasuspect.txt Name: $mta.name($1,$2) Suspect: $mta.name($1,$4) Ip: $mta.ip($1,$4) Reason: $5- Date: $date
 }
}

Edit

problem solved by changing it to a txt file..

thanks aeron.. 8)

ignorance has taken over we gotta take the power back bam, here's the plan mother fuck uncle sam

Posted

well as i sed it would happen mtascripts.com has gone down

unfortunately it was a little sooner than we expected :(

oops

NO..... You go to hell, You go to hell and you die!

x32staff.gif

koop.jpg

Posted

Anyone who can assist with a few customised team scripts for http://turfwar.mtaleague.com please contact me.

For an idea of what is needed see the rules page and the addendum post in the Announcements and Discussions forum there, thanks.

The artist formerly known as [MTA]MrBump

Posted (edited)
Anyone who can assist with a few customised team scripts for http://turfwar.mtaleague.com please contact me.

For an idea of what is needed see the rules page and the addendum post in the Announcements and Discussions forum there, thanks.

One turf-war-script coming up!

Edit: if i have time

Edited by Guest

"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."

signature.gif

Posted

Thanks Aeron, find me in IRC if you have any questions about what is required.

The artist formerly known as [MTA]MrBump

Posted

A second thougth of it i got no time, cause i'm in the starting week of my new skool and i got tons of home work to do... some one else got time ?

"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."

signature.gif

Posted

OK, thanks anyway Aeron.

Oli would you be able to help us out with this please?

The artist formerly known as [MTA]MrBump

Posted

Oli, (Harry), All that is needed initially is a variation on the standard X minute rounds team script.

Needs to support two and three teams (perhaps make that an easily settable variable? this would cover for future 4 and 5 team games)

The scores will be calculated slightly differently, it is Kills minus Deaths, not just Kills and should ignore 'player died (vehicle)' altogether.

Hope thats clear enough, if not then i can elaborate on any area. Thanks

The artist formerly known as [MTA]MrBump

  • 3 weeks later...
Posted

Hi all,

Do you know how make color text in the scripts (ex. player write !wtf, server: WhatTheF*** ) ? I know that is possible, but i don't know how ?

Can you help me ? :)

plmta.png

fmj.png

Posted

I saw color text in UVA server in !hp scripts by Scooby, so it is possible ?

:: I know that Have to use some signs (ex. !ţźţ or !!ţţ), but i don't know which precisely :/

plmta.png

fmj.png

Posted

yay! good work kooper

"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."

signature.gif

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...