Jump to content

stylo

Members
  • Posts

    85
  • Joined

  • Last visited

Posts posted by stylo

  1. ok i'll be the first one to suggest,

    1- win an race or stay last alive you win money

    2- not to much but something like when you are first you'l earn 50 second 30 etc.

    3- you can use the money by buying an changemap or an other object that you like price 1-200 (random)

    4- you can bet on other players to win if you are alive or not (doesn't mather)

    5- you can see how much money you have by !money

    6- if you dislike some1's swear or racism you can give him an ticket by !ticket the one who get's the ticket must pay the amount that was given by the server (random number) and must pay it to the one who has given an ticket

    7- admins must have an command that they can ban users who abusing the script if IP it wouldn't work

    8- when there are players who dindn't win an race in 3 times they'get money to but not so much only 10-15

    9- thats my suggest may i posted it in an wrong topic but here is it where i can suggest

  2. ok i tried and did the same on all parts as. you did with the script but.. still not calculate's and when i type !money there still stands 's cash: $+ 150

    has no cash

    here is the hole script

    alias gus.rpgwin { 
     %players = $mta.server($1).players 
     %rank = $mta.rank($1,$2) 
     if (%rank == 1) { 
       if (2 <= %players) { 
         mta.text $1 $mta.nick($1,$2) You Came First !yay! (Money Earned: $chr(36) $+ $calc(60 * %players) $+ ) 
         !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $mta.ip($1,$2) $gus.add($gus.cash($1,$2),$calc(60 * %players))
       } 
     } 
     elseif (%rank == 2) { 
       if (2 <= %players) { 
         mta.text $1 $mta.nick($1,$2) You Came Second! (Money Earned: $chr(36) $+ $calc(25 * %players) $+ ) 
         !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $mta.ip($1,$2) $gus.add($gus.cash($1,$2),$calc(25 * %players))
       } 
     }
     elseif (%rank == 3) { 
       if (3 <= %players) { 
         mta.text $1 $mta.nick($1,$2) You Came Third! (Money Earned: $chr(36) $+ $calc(15 * %players) $+ ) 
         !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $mta.ip($1,$2) $gus.add($gus.cash($1,$2),$calc(15 * %players)) 
       } 
     } 
     elseif (%rank == 4) { 
       if (4 <= %players) { 
         mta.text $1 $mta.nick($1,$2) You Came Fourth! (Money Earned: $chr(36) $+ $calc(10 * %players) $+ ) 
         !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,%a) $mta.ip($1,%a) $gus.add($gus.cash($1,$2),$calc(10 * %players)) 
       } 
     } 
     elseif (%rank == 5) { 
       if (5 <= %players) { 
         mta.text $1 $mta.nick($1,$2) You Came Fifth ! (Money Earned: $chr(36) $+ $calc(6 * %players) $+ ) 
         !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,%a) $mta.ip($1,%a) $gus.add($gus.cash($1,$2),$calc(6 * %players)) 
       } 
     } 
     elseif (%rank == 6) { 
       if (6 <= %players) { 
         mta.text $1 $mta.nick($1,$2) You Came Sixth ! (Money Earned: $chr(36) $+ $calc(2 * %players) $+ ) 
         !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,%a) $mta.ip($1,%a) $gus.add($gus.cash($1,$2),$calc(2 * %players)) 
       } 
     } 
     else mta.text $1 $mta.nick($1,$2) came in %rank place 
    } 
    

    good luck anyways it don't write an IP in the file .. the nick gets read again good luck you make other people happy to :)

  3. :lol::lol:

    ok i listen already but ok if you say i belive but anyhow i don't understand how does Team neo doing that :/ not that i want to copie that server but just for question for an try just go to thair server to see

    and if its not possible just thx for your reply's

  4. no i know but there must be an other command not mta.text but mta.say

    mta.say does not works couse thats of MTA.VC

    but i know an server and there are all messages not shown with mta.text aka admin but with

    there must be an script :P

  5. ok realy thx its works

    but..

    now when i type !money i get this:

    JB_Frozen's cash: + 782

    JB_Frozen Has no cash

    when i win an race and get 15 it wil be this

    JB_Frozen's cash: + 15

    JB_Frozen Has no cash

    so it don't calculates and it is be wrong written in the RPG.ini

    there stands: = + 200

    so.. if you just want me a little more i appruciate it here is the write code

    elseif (%rank == 3) { 
       if (3 <= %players) { 
         mta.text $1 $mta.nick($1,$2) You Came Third! (Money Earned: $chr(36) $+ $calc(15 * %players) $+ ) 
         !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,%a) $mta.ip($1,%a) $gus.add($gus.cash($1,$2),$calc(15 * %players))
    

    i will do the rest i just need an (...) dont know that word :)

    thx

  6. :lol:

    i have an money script off this forum but an command won't work yep why do i post this topic couse it don't have anything to do with the topic where this command belongs to

    ok my problem is when i type !cash this come's up ingame :

    JB_Frozen's cash: $

    but nothing more it don't shows how may cash i have i tried everything here is the code ..

      elseif ($3 == !money && %rpg == on) { 
       if ($4 == $null) mta.text $1 $mta.nick($1,$2) $+ 's Cash: $chr(36) $readini($scriptdir $+ RPG.ini,CASH,$4)
       elseif ($4 && %a == -1) mta.pm $1 $2 Error - Absent ID 
       else mta.text $1 $mta.nick($1,%a) $+ 's Cash: $chr(36) $+ $readini($scriptdir $+ RPG.ini,CASH,$4)($1,%a) 

    btw it belong to gus script

    i hope you guys can help me

  7. I would like to know if there is an way to see the admin messages

    in IRC so that when an Admin says something that message come up in IRC

    i know the line but not the Signal

    and is there an way when you type !m your text will be shown in MTA with

  8. Hi guys i saw on an server that had an money system and it sucks many peepz to the server lol

    i thougt is there an way to get money on several times so it dont displays you get money but when you type !money you see your money and an hour later its 100$ more when you type !money.

    and that is there an way to Buy things with that money?

    like an icecream and when i type !buy its take an random number between 200 and 0

    if you can sort that out for me guys i love ya an lot and i send some scripts that i have that works with gus on Admin system

    thx and greetz

  9. yes, just any command in format

    elseif ($3 == !something) mta.text $1 my text

    just make sure that the first command always has an 'if (blablabla) {}' and others 'elseif (blablabla) {}'

    or just use 'if' everywhere, but that's gonna use more cpu

    that $iif(%a != -1,$iif(%a != $2,$mta.nick($1,%a))) is there to show a name if it's specified or show nothing if it's not

    This: $iif(%a != -1,$iif(%a != $2,$mta.nick($1,%a))) is need to do commands with ppl's names ?

  10. Can't you just start and stop the messages with a command?

    Sure, but i dont think theres a way to stop individual unnamed timers.

    coz as it was b4, everytime u connect, a new timer is started, the old one didnt get stopped.

    so u would end up with tons of timers running and eventually loads of messages.

    ahahah

    PS the script works fine! its nice, Thnx :)

×
×
  • Create New...