Jump to content

FFCFoo

Members
  • Posts

    27
  • Joined

  • Last visited

Posts posted by FFCFoo

  1. Hello, I figured since I be leave that MTA:VC will come back I wanted to script for it maybe my own bot but I need to know what kind of scripting language it is so I can learn or maybe I already know some of it because I know some Program languages already.

  2. Hello,

    I'm a noob at lua and creating servers but what I want to no is, is it possible to make 2 trains crash into each other at a certain time? If so can someone help me with it? I mean I don't no any lua :|

  3. Well I no MTA 0.5 is like have barley anyone play it but I need help/Me and my friends still play the game. Im looking for 2 things! A script that can give me vehicles :). I am not referring to a bot! Second I want a script that piles cars on top of the player, Again Not referring to a bot! That would be cool to have in my server! :D

  4. Well My talk button does not work and Ive looked all around there is no one that has solved the problem! I heard something about a configuration file or something anyway me and my friend just got MTA I had it before but I quite :P. But when me and my friend press T it shows red like regularly. But when I type then press enter nothing shows up? Can someone give me a solution to this problem! :?:

  5. lil Toady the script it doesent work it doesent say inything and there is a mta level in it i took that out i dont need that i got a admin system script that doesent need that also i dono what's rong

  6. Well im having a text command problem Here is the text and commands together it wont work together :fadein::?:

    on *:SIGNAL:mta.command:{ 
      if ($3 == !bored) { 
      mta.say $1 $mta.name($1,$2) Is Bored 
    } 
    on *:SIGNAL:mta.text:{ 
      if ($3 == brb) { 
      mta.say $1 $mta.name($1,$2) Will Be Right Back! Reason: $4- 
      } 
      if ($3 == bbl) { 
      mta.say $1 $mta.name($1,$2) Will Be Back Later! Reason: $4- 
    } 
    

    What is ROng With it The txt wont work but the Command !bored will

  7. Does inybody no how i can run 2 server's at once without paying becouse i need to run 2 server's for [GN]Clan and [FFC]Clan iny body no how becouse i keep getting error that it ses if you are already runnung a mtaservercilent close it?

  8. what you meen i think that script is a waste of time i need a real script i tryed it it didnt work then i found a tempban but lost it and i came back here but no working no more so that script does not work

  9. I am not A very good scripter can someone make me a !tempban script for my new script i am writing so i dont have to use GRS i want my script's to be wrote not from GRS just where i can see them :wink:

  10. well just to tell you scooby i not good at scripting and i added a phew more changes over the days

    here is my script now

    On *:SIGNAL:mta.command:{ 
      var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) 
      if ($3 == !slap) { 
        if ($mta.level($1,$2) >= 1) { 
          mta.slap $1 %a 
        } 
      } 
      elseif ($3 == !kill) { 
        if ($mta.level($1,$2) >= 1) { 
          mta.slap $1 %a 
          mta.slap $1 %a 
          mta.slap $1 %a 
          mta.slap $1 %a 
          mta.slap $1 %a 
          mta.slap $1 %a 
        } 
      } 
      elseif ($3 == !id) { 
        mta.say $1 $mta.name($1,%a) $+ 's Id = %a 
      } 
      elseif ($3 == !bot) { 
        mta.msg $1 $2 To spawn cars type this exactly: (!sp <Your Name> <Car Name/ID>) 
        mta.msg $1 $2 To Teleport Type This exactly (!tp <your Name> <Person's Name>) 
        mta.msg $1 $2 To spawn weapon's type this exactly (!wep <your Name> <Weapon Name/ID>) 
      } 
      elseif ($3 == ![FFC]) { 
      mta.say $1 Flippin Foes Clan 
      } 
      elseif ($3 == ![GN]) { 
      mta.say $1 Green Nova's 
      } 
      elseif ($3 == !info) { 
      mta.say $1 [FFC]Basic v1 By.[FFC]Foo 
      } 
      elseif ($3 == !commands) { 
      mta.say $1 Public Command's:!sp,!tp,!bot,![FFC],![GN],!info,!id,!wep 
      } 
      elseif ($3 == !members) { 
      mta.msg $1 $2 [FFC]Member's 
      mta.msg $1 $2 [FFC]Foo,[FFC]Foohy,[FFC]akia14 
      mta.msg $1 $2 [FFC]Big_Rod,[FFC]quake,[FFC]Gimp 
      } 
      elseif ($3 == !bored) { 
      mta.say $1 $mta.name($1,$2) is bored! 
      } 
      var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2)  
      if ($mta.level($1,$2) >= 4) { 
        if ($3 == !ck) { 
          if ($mta.status($1,%a) != 2) mta.msg $1 $2 Player is not ingame. 
          elseif ($mta.vehicle($1,%a).name != foot) mta.msg $1 $2 Player is not on foot. 
          elseif ($mta.health($1,%a) <= 20) mta.msg $1 $2 Player does not have enough health. 
          else { 
            var %hp = $mta.health($1,%a) 
            mta.say $1 Checking $mta.name($1,%a) for HP hacks ... 
            mta.slap $1 %a 
            .timer 1 1 mta.check $1 %a %hp 
          } 
        } 
      } 
    } 
    alias mta.check { 
      if ($mta.health($1,$2) >= $3) { 
        mta.say $1 WARNING: HP Cheats found on: $mta.name($1,$2) 
        mta.say $1 TempBanning $mta.name($1,$2) on ip: $mta.ip($1,$2) for 1 hour 
        mta.ban $1 $2 Checker found HP cheats. 
        !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) name $mta.name($1,$2) 
        !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) time $ctime 
        !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) till $calc($ctime + 3600) 
        !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) ip $mta.ip($1,$2) 
        !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) server $mta.server($1) 
        !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) serverno $1 
        !write " $+ $grs.dir $+ tempbans.txt" $mta.ip($1,$2) 
        !.timer 1 3600 grs.unban $mta.ip($1,$2) 
      } 
      else mta.say $1 No HP chears found on $mta.name($1,$2) 
    } 
    

    and here is the script with your command in it

    On *:SIGNAL:mta.command:{ 
      var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) 
      if ($3 == !slap) { 
        if ($mta.level($1,$2) >= 1) { 
          mta.slap $1 %a 
        } 
      } 
      elseif (($3 == !kill) && ($mta.name($1,$2) == [FFC]Foo)) .timer 6 0 mta.slap $1 %a 
      } 
      elseif ($3 == !id) { 
        mta.say $1 $mta.name($1,%a) $+ 's Id = %a 
      } 
      elseif ($3 == !bot) { 
        mta.msg $1 $2 To spawn cars type this exactly: (!sp <Your Name> <Car Name/ID>) 
        mta.msg $1 $2 To Teleport Type This exactly (!tp <your Name> <Person's Name>) 
        mta.msg $1 $2 To spawn weapon's type this exactly (!wep <your Name> <Weapon Name/ID>) 
      } 
      elseif ($3 == ![FFC]) { 
      mta.say $1 Flippin Foes Clan 
      } 
      elseif ($3 == ![GN]) { 
      mta.say $1 Green Nova's 
      } 
      elseif ($3 == !info) { 
      mta.say $1 [FFC]Basic v1 By.[FFC]Foo 
      } 
      elseif ($3 == !commands) { 
      mta.say $1 Public Command's:!sp,!tp,!bot,![FFC],![GN],!info,!id,!wep 
      } 
      elseif ($3 == !members) { 
      mta.msg $1 $2 [FFC]Member's 
      mta.msg $1 $2 [FFC]Foo,[FFC]Foohy,[FFC]akia14 
      mta.msg $1 $2 [FFC]Big_Rod,[FFC]quake,[FFC]Gimp 
      } 
      elseif ($3 == !bored) { 
      mta.say $1 $mta.name($1,$2) is bored! 
      } 
      var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2)  
      if ($mta.level($1,$2) >= 4) { 
        if ($3 == !ck) { 
          if ($mta.status($1,%a) != 2) mta.msg $1 $2 Player is not ingame. 
          elseif ($mta.vehicle($1,%a).name != foot) mta.msg $1 $2 Player is not on foot. 
          elseif ($mta.health($1,%a) <= 20) mta.msg $1 $2 Player does not have enough health. 
          else { 
            var %hp = $mta.health($1,%a) 
            mta.say $1 Checking $mta.name($1,%a) for HP hacks ... 
            mta.slap $1 %a 
            .timer 1 1 mta.check $1 %a %hp 
          } 
        } 
      } 
    } 
    alias mta.check { 
      if ($mta.health($1,$2) >= $3) { 
        mta.say $1 WARNING: HP Cheats found on: $mta.name($1,$2) 
        mta.say $1 TempBanning $mta.name($1,$2) on ip: $mta.ip($1,$2) for 1 hour 
        mta.ban $1 $2 Checker found HP cheats. 
        !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) name $mta.name($1,$2) 
        !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) time $ctime 
        !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) till $calc($ctime + 3600) 
        !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) ip $mta.ip($1,$2) 
        !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) server $mta.server($1) 
        !writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) serverno $1 
        !write " $+ $grs.dir $+ tempbans.txt" $mta.ip($1,$2) 
        !.timer 1 3600 grs.unban $mta.ip($1,$2) 
      } 
      else mta.say $1 No HP chears found on $mta.name($1,$2) 
    } 
    

    The only help is i need to no how can i have 2 people that can youse the script and do you see errors becouse some of the script wont work like ![GN] and all that

×
×
  • Create New...