Jump to content

DJScripts

Members
  • Posts

    37
  • Joined

  • Last visited

Posts posted by DJScripts

  1. Hej DJFrankie here.

    I have some problems with PRS 1.3 with the command !nextmap.

    everyone with lvl 4 can use it and they abuse like hell so my question is how can i change the lvl from 4 to 5?

    And i have some problems with this script:

    /*
    /////////////////////////////////////
    //////      MTASA:RACE         //////
    //////                         ////// 
    //////    Public ID Script     //////
    //////                         ////// 
    //////      Version 1.0        //////
    //////                         ////// 
    //////   BY: -|ND|-DJFrankie   //////
    /////////////////////////////////////
    */
    
    on *:SIGNAL:mta.connect: {
     .timer 1 2 mta.text $1 $pis.version($1) Script Activated
    }
    alias pis.getid {
     var %a = 0
     while (%a < %loop) {
       if ($+(*,$2,*) iswm $mta.nick($1,%a)) !return %a
       !inc %a
     }
    }
    on *:SIGNAL:mta.command: {
     ;Parameters:
     ;$1 = Server
     ;$2 = ID
     var %a = $iif((!$4),$2,$iif(($pis.getid($1,$4) == $null),$2,$v1)),%race = $replace($mta.race($1),$chr(32),$chr(45))
     if ($3 == !id) mta.text $1 $mta.nick($1,%a) 's ID: $2-
     elseif ($3 == !pmip) mta.pm $1 $2 Your Ip Is: $mta.ip($1,$2)
     elseif ($3 == !cash) { 
       if (%a == -1) mta.pm $1 $2 Error - Absent ID 
       else mta.text $1 $mta.nick($1,%a) Has Got $s.money($1,%a).- Dollar
     }
     elseif ($3 == !idcommands) mta.pm $1 $2 $pis.commands($1)
     elseif ($3 == !idadmincommands) mta.pm $1 $2 $pis.admincommands($1)
    }
         elseif ($3 == !givemoney) { 
           if ($4 && $5 isnum) { 
             if ($s.money($1,$2) >= $5) { 
               mta.text $1 $mta.nick($1,$2) geeft $5 aan $mta.nick($1,%a) $+ ! 
               !writeini -n " $+ $scriptdir $+ mta.rpg.ini" MONEY $mta.ip($1,$2) $calc($s.money($1,$2) - $5) 
               !writeini -n " $+ $scriptdir $+ mta.rpg.ini" MONEY $mta.ip($1,%a) $calc($s.money($1,%a) + $5) 
             } 
             else mta.pm $1 $2 Error - Not Enough Money!
           } 
           elseif ($4 && $5 == admin && $6 isnum) { 
             if ($gus.level($1,$2) >= 7) { 
               mta.text $1 $mta.nick($1,%a) Gets $6 Dollar The Bank! 
               !writeini -n " $+ $scriptdir $+ mta.rpg.ini" MONEY $mta.ip($1,%a) $calc($s.money($1,%a) + $6) 
             } 
             else mta.pm $1 $2 Error - You need to be level 7 to use this command 
           } 
           else mta.pm $1 $2 Error - Syntax: $3 
         } 
    on *:SIGNAL:mta.death: {
     ;Parameters:
     ;$1 = Server
     ;$2 = ID
     mta.text $1 $mta.nick($1,$2) Just Died! ID: $2-
    }
    on *:SIGNAL:mta.finish: {
     ;Parameters:
     ;$1 = Server
     ;$2 = ID
     mta.text $1 $mta.nick($1,$2) Won This Round! ID: $2-
    }
    on *:SIGNAL:mta.part: {
     ;Parameters:
     ;$1 = Server
     ;$2 = ID
     ;$3 = 0/1/2/3 (parted/kicked/banned/timed-out)
     mta.text $1 $mta.nick($1,$2) ID: $2- Has Left The Server!  Reason: $3-
    }
    on *:SIGNAL:mta.join: {
     ;Parameters:
     ;$1 = Server
     ;$2 = ID
     mta.text $1 $mta.nick($1,$2) ID: $2- Has Joined The Server! 
    }
    alias pis.version !return MTASA:PIS:1.0
    alias pis.commands mta.text $1 ID Commands: !id - !pmip - !idmoney - !idbuy - !iditems - !idcommands - !idbuyhelp - !iduse
    alias pis.admincommands !return ID Admin Commands: !idkick - !idban/unban - !idmute/unmute !idfreeze/unfreeze
    alias s.money !return $iif($readini($scriptdir $+ mta.rpg.ini,MONEY,$mta.ip($1,$2)),$v1,0)
    }
    

    The !id Command when you type in the server !id it show: DJFrankie 's ID: 0 !id

    i dont get it why it puts !id behind it when i type

    !id galghlahg it shows that after the command i think the parameter is doing it and my money script doesnt seem to work somone nows something on that?

    And the !givemoney command is for gus but i use prs and i now thats mta.level but when i change gus in to mta and 7 into 5 it doesnt work.

    And another question :p:

    could it be like that you can type:

    /pm Admin

    and then the admin or script gets the password and logs in that you have registert your name or is this not possible whas just wondering ;)

    well thx all A

    Greetzz.. DJFrankie

  2. hey scoobie mayby this is posible.

    im looking for a good script for an stunt server your prs is great but only for race dm rsdm so mayby you can make another mode for stunt.

    i dont now if this is posible but mayby when you do a good stunt you get money or points would be cool but its just an idea.

    Greetz.. DJFrankie

  3. Hi i am uD|DJFrankie|NL for the uD|Clan.

    I have my own mta server.

    Running on windows.

    Now i want an IRC Server connected to my MTA Server.

    so that the players in the MTA Server can talk to the IRC Users.

    But i realy dont now how to put up an IRC server and to connect it with mta.

    And the echo script or what it is i dont now a thing.

    So can someone help me with this putting it up and configuring?

    Amd can it be that the people in the IRC server can use all the commands as the people in the MTA Server?

    Greetz.. DJFrankie

  4. Ho!! warning we have forgot something.

    With the normal !comamnds This line is needed:

    on * SIGNAL:mta.command: {

    But with our Word commands we dont now what to use.

    This is what we already tryed:

    on * SIGNAL:mta.text: {

    on * SIGNAL:mta.say: {

    Does someone nows this!!??

    We realy need it!!

    Thx

    Greetzz.. PWS Testing Team

  5. i do need some help with one part of this script that i have never done.

    This part is: when a player joins the server. that in the chat commes:

    Player Joint The Server! :D

    Player Left The Server! :(

    if some one nows that plz reply

    Thx

    Greetzzz DJFrankie

  6. Hi i am uD|DJFrankie|NL

    I have made a script that doesnt work with commands like: !help but with word commands like: help

    Script name: PWS v1.0 ( Public Word Script )

    This Script is an Add-On Script for PRS 1.3

    With this script you dont have to add all those commands to prs 1.3

    The Script is now begin tested real good before we release it if something is not working on 15 juli it will not be released.

    The Script is now a big secret no one gets to see it only the testers.

    here follow the commands:

    player word commands:

    commands

    brb

    back

    lol

    lmao

    rofl

    booring

    omg

    omfg

    omgnoob

    trace

    countdown

    Admin word commands: (commands are for lvl2)

    admincommands

    camp

    afk

    spam

    lag

    stopthat!

    Fun word Commands:

    mayday!

    s.o.s

    wtf

    This is just Bate version 1.0 Where already working on PWS 1.1

    PWS 1.1 is made To be an Stand alone script so no longer need PRS to use it!

    The new version 1.1 will have admin level with rcon_login

    lvl1 = noobie admin

    lvl2 = baby admin

    lvl3 = good admin

    lvl4 = wannebe Server master

    lvl5 = Server Master

    PWS v1.0 will be downloadeble on 15 juli on 12 o'clock

    PWS v1.1 will be downloadeble on Date And Time not avaleble jet.

    Greetzz uD|DJFrankie|NL

  7. there was already a posted script from lil toady :

    on *:SIGNAL:mta.text:{
    if ($len($3-) > 10) && ($calc($len($3-) - $len($removecs($3-,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z))) >= $calc($len($3-) * 0.7)) { 
       !writeini -n $+(",$mta.dir,$1.ini,") $2 warnings $calc($readini($mta.dir $+ $1.ini,$2,warnings) + 1) 
       var %a = $readini($mta.dir $+ $1.ini,$2,warnings) 
       if (%a >= 3) {  mta.text $1 $mta.nick($1,$2) reached the warnings limit and will be muted! (Too much caps used) 
         mta.mute $1 $2 
       } 
       else mta.text $1 $mta.nick($1,$2) has been warned! $calc(3 - %a) more $iif($calc(3 - %a) == 1,warning,warnings) and he will be Muted! (too much caps used) 
     }
    }

    That script is not from lil toady Thats Kesler2005 his script

  8. alias give.money {
     var %a = $iif((!$4),$2,$iif(($gus.getid($1,$4) == $null),$2,$v1))
     if (!$5) mta.pm $1 $2 Error! - Type !givemoney 
     elseif (!%a) mta.pm $1 $2 Error! - Name not found!
     elseif ($5 !isnum) mta.pm $1 $2 Error - Type only numbers in  !
     elseif ($gus.money($1,$2) < $5) mta.pm $1 $2 You cant give money for $mta.nick($1,%a) more than you got!
     else {
       mta.text $1 $mta.nick($1,$2) has just gave $5 $+ $ for $mta.nick($1,%a) !
       mta.pm $1 $2 Success transferring $5 $+ $ for $mta.nick($1,%a) !
       mta.pm $1 %a Success recieved $5 $+ $ from $mta.nick($1,%a) !
       !writeini -n money.ini MONEY $mta.nick($1,$2) $calc($readini(money.ini,MONEY,$mta.nick($1,$2)) - $5)
       !writeini -n money.ini MONEY $mta.nick($1,%a) $calc($readini(money.ini,MONEY,$mta.nick($1,%a)) + $5)
     }
    }

    But sould i put in my script:

     elseif (!givemoney $3) give.money $1-
    

    or just type in the server !givemoney??

  9. In The next MTA:SA Server Software mayby The MTATeam mayby can some kind of Spam security bild in the server software.

    Like is a spammers does dis:

    Spammer: !info

    Spammer: !info

    Spammer: !info

    Spammer: !info

    Spammer: !info

    Spammer: !info

    Then First The Script Shuts Down and after that the server crashes so mayby when they say 3 times the same thing or to fast then they get auto mute or kick that will be cool many servers got this problem it realy sucks.

    Greetzz.. DJFrankie

  10. Hi here uD|DJFrankie|NL.

    I want to put a password on my server for a tournament and i private server.

    But when i change it in mtaserver.cfg then it restart the server and i don't see the problem.

    And it dusn't work.

    Some body nows how to do it?

    Here follows my mtaserver.cfg

    # ServerName
    # Required: Yes
    # Purpose: Defines the name of the server
    #          Format - ServerName 
    ServerName [NL] uD | Mix Server | DJFrankie
    
    
    # ServerPort
    # Required: Yes
    # Purpose: Defines the port for players to connect on
    #          Format - ServerPort 
    # Notes:
    #     Must be a numerical value
    ServerPort 22004
    
    
    # MaxPlayers
    # Required: Yes
    # Purpose: Defines the max players that can connect to the server
    #          Format - MaxPlayers 
    # Notes:
    #     Must be a numerical value and must not go above 32
    MaxPlayers 30
    
    
    # ServerPassword
    # Required: Yes (Yes if server should be passworded)
    # Purpose: Defines the server password
    #          Format - ServerPassword 
    #ServerPassword gaylord
    
    
    # ASE
    # Required: No
    # Purpose: Defines whether the server should report to the All Seeing Eye (can be seen in the Server Browser)
    #          Format - ASE 
    # Notes:
    #     Set to 1 to enable, anything else to disable
    ASE 1
    
    
    # AdminServer
    # Required: No
    # Purpose: Defines whether the server should enable Remote Admin
    #          Format - AdminServer <1>
    # Notes:
    #     Set to 1 to enable, anything else to disable
    #     REMEMBER TO CHANGE THE ADMIN PASSWORD!
    AdminServer 1
    
    
    # AdminPort
    # Required: Yes (if AdminServer is enabled)
    # Purpose: Defines the port for Remote Admins to connect on
    #          Format - AdminPort 
    # Notes:
    #     Must be a numerical value
    AdminPort 44004
    
    
    # AdminPass
    # Required: Yes (if AdminServer is enabled)
    # Purpose: Defines the Remote Admin password
    #          Format - AdminPass 
    AdminPass (secret)
    
    
    # AllowAdminShutdown
    # Required: No
    # Purpose: Defines whether the server can be shutdown from Remote Admin
    #          Format - AllowAdminShutdown 
    # Notes:
    #     Set to 1 to enable, anything else to disable
    AllowAdminShutdown 1
    
    
    # LogFile
    # Required: No
    # Purpose: Defines the file which the server log should be written to
    #          Format - LogFile 
    LogFile mtaserver.log
    
    
    # AntiCheatEnabled
    # Required: No (defaults to 1)
    # Purpose: Defines whether anticheat is enabled or not.
    #          Format - AntiCheatEnabled <1>
    AntiCheatEnabled 0
    
    
    # AutoUpdateAntiCheat
    # Required: No (defaults to 1)
    # Purpose: Defines whether the server should check Anti-Cheat for updates automatically on server start.
    #          Format - AutoUpdateAntiCheat <1>
    AutoUpdateAntiCheat 0
    
    
    # InstantVoteMapEnabled
    # Required: No (defaults to 0)
    # Purpose: Defines whether instant map voting is enabled/disabled
    #          Format - InstantVoteMapEnabled <1>
    # Notes:
    #     Due to heavy abuse of this feature in previous releases, we recommend that
    #     you disable this.
    InstantVoteMapEnabled 0
    
    
    # InstantVoteMapPercentage
    # Required: No
    # Purpose: Defines the percentage of votes needed for a map vote to pass.
    #          A high value is recommended (over 80%) to prevent voting abuse.
    #          Format - InstantVoteMapPercentage <0>
    InstantVoteMapPercentage 80
    
    
    # InstantVoteMapTimeDelay
    # Required: No
    # Purpose: Defines how long a player must wait before they can vote for a new instant map change
    #          Format - InstantVoteMapTimeDelay 
    # Notes:
    #     This does not take effect if there are 2 or less players in the server
    InstantVoteMapTimeDelay 90
    
    
    # InstantVoteMapGlobalTimeDelay
    # Required: No
    # Purpose: Defines the minimum time between instant map-change votes on the server.
    #          Format - InstantVoteMapGlobalTimeDelay 
    # Notes:
    #     This does not take effect if there are 2 or less players in the server
    InstantVoteMapGlobalTimeDelay 60
    
    
    # DefaultRespawnTime
    # Required: No (defaults to 10 seconds)
    # Purpose: Defines what respawn time to use if none is specified in the map
    #          Format - DefaultRespawnTime 
    DefaultRespawnTime 10
    
    
    # DefaultMapDuration
    # Required: No (defaults to 600 seconds which is 10 minutes)
    # Purpose: Defines what map duration to use if none is specified in the map.
    #          Format - DefaultMapDuration 
    DefaultMapDuration 600
    
    
    # MaxMapDuration
    # Required: No (defaults to 1200 seconds which is 20 minutes)
    # Purpose: Defines how long a map can maximally run before the next map is started. This is neccessary for
    #          maps with dynamic respawn when instant vote map change is disabled.
    #          Format - MaxMapDuration 
    MaxMapDuration 1200
    
    
    # MapNominationEnabled
    # Required: No (defaults to 1)
    # Purpose: Defines whether the server will use map nomination votes between maps to decide the next map to play.
    #          If this is set to 0, the server will pick a random map instead. This is recommended rather than instant votes.
    #          Format - MapNominationEnabled <1>
    MapNominationEnabled 1
    
    
    # MaxNominationMaps
    # Required: No (defaults to 4)
    # Purpose: Defines how many random maps that will be picked during a map election between maps.
    #          Format - MaxNominationMaps <2>
    # Notes:
    #     Range for this value is 2 to 8.
    MaxNominationMaps 4
    
    
    # IncludeLastMapInNomination
    # Required: No (defaults to 1)
    # Purpose: Defines whether the server should put the last map played in the nomination for the next map to play.
    #          Format - IncludeLastMapInNomination <1>
    IncludeLastMapInNomination 1
    
    
    # Admin
    # Required: No
    # Purpose: Defines all the people in-server who can rcon_login to admin
    #          Format - Admin 
    # Notes:
    #     admin-level must not go above 5
    #     Names and passwords are case sensitive
    #Admin Default password 5
    
    
    # RCON
    # Required: No
    # Purpose: Defines the admin level for . If this is not specified it is defaulted
    #          Format - RCON 
    # Notes:
    #      must be between 1 and 5. If it is invalid, the level is defaulted
    RCON kick 4
    RCON ban 4
    RCON mute 2
    RCON unmute 2

  11. Hi DJ here we have on our server pgs script whit money and stuf but we think that it is cool if you can buy stuf so mayby you can make a buy script for PGS Script mayby its a big thing but i think it is going to be very good!

    Something like this command:

    !buy

    And the product are:

    ratio

    wins

    death

    kick

    ban

    mute/unmute

    freeze/unfreeze

    So if you can do something i will here it!

    Thanks and greetzz.... uD|DJFrankie|NL

×
×
  • Create New...