C-Bullets Posted April 28, 2007 Share Posted April 28, 2007 It says I need to be level 5 admin to transfer cash but on the gus im level 10. Link to comment
Scooby Posted April 28, 2007 Author Share Posted April 28, 2007 It says I need to be level 5 admin to transfer cash but on the gus im level 10. thats ok, just login with rcon and it should work. Link to comment
C-Bullets Posted April 28, 2007 Share Posted April 28, 2007 How would i do that again cause the gus usally signs me in Link to comment
Scooby Posted April 28, 2007 Author Share Posted April 28, 2007 u press f8, and type: rcon_login urpasswordhere failing that, open the script and goto line 155, it should look like this: if ($mta.level($1,$2) < 5) mta.pm $1 $2 Error: Level 5 Admins Only! change it to: if ($gus.level($1,$2) < 10) mta.pm $1 $2 Error: Level 10 Admins Only! hope that helps Link to comment
C-Bullets Posted April 28, 2007 Share Posted April 28, 2007 I don't see it on line 155. For the betting script right? Link to comment
Scooby Posted April 28, 2007 Author Share Posted April 28, 2007 yes, do u have 1.0 still? Link to comment
C-Bullets Posted April 28, 2007 Share Posted April 28, 2007 Yeah, but on line 155 it is " else {" Link to comment
Scooby Posted April 28, 2007 Author Share Posted April 28, 2007 wierd:P ok heres the full alias: alias pgs.transfer { var %a = $iif($hget(pgscash,$4) == $null,0,$v1) if ($mta.level($1,$2) < 5) mta.pm $1 $2 Error: Level 5 Admins Only! elseif (($4 == $null) || ($5 == $null) || ($6 == $null) || ($6 !isnum)) { mta.pm $1 $2 Type: !transfer mta.pm $1 $2 Use Exact names, no wildcards! mta.pm $1 $2 Sends Cash From Nick1 to Nick2. } elseif ($calc(%a - $6) < 0) mta.pm $1 $2 Error $4 $+ 's Cash: $ $+ %a else { pgs.sub $4 $6 pgs.add $5 $6 mta.text $1 $mta.nick($1,$2) Transfered $ $+ $6 From $4 To $5 } } find that alias and replace with: alias pgs.transfer { var %a = $iif($hget(pgscash,$4) == $null,0,$v1) if ($gus.level($1,$2) < 10) mta.pm $1 $2 Error: Level 10 Admins Only! elseif (($4 == $null) || ($5 == $null) || ($6 == $null) || ($6 !isnum)) { mta.pm $1 $2 Type: !transfer mta.pm $1 $2 Use Exact names, no wildcards! mta.pm $1 $2 Sends Cash From Nick1 to Nick2. } elseif ($calc(%a - $6) < 0) mta.pm $1 $2 Error $4 $+ 's Cash: $ $+ %a else { pgs.sub $4 $6 pgs.add $5 $6 mta.text $1 $mta.nick($1,$2) Transfered $ $+ $6 From $4 To $5 } } lol it couldnt have been far off 155 Link to comment
Recommended Posts