Jump to content

MTAMA Scripting


Si|ent

Recommended Posts

Posted

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

  • 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.. :?

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)

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
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 ?

Posted

ok sure, ill go read the rules and make 1 this week at some point. My GRS script isnt due for any serious updates for a bit so ill devote some time to this

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

  • 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 ? :)

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 :/

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

    • No registered users viewing this page.

×
×
  • Create New...