Jump to content

CoZ

Members
  • Posts

    598
  • Joined

  • Last visited

Everything posted by CoZ

  1. maybe some positive criticism and pointers to make it excellent are more helpfull to alwSmokE i think the monkey could've been a bit more crisp and cut better (try grabbing it out the texture files instead of cutting it out a screenshot - then after rotate/shear/perspective it a bit) but still its his work , he took time and effort to make something he likes im not saying your not entitled to your oppinion . but just saying it sucks is pretty weak so how about your background jani ? if its not the default one throw it in here .. we could make this topic into a showcase topic ps .. for those wondering imho this wont be the place for the debate on if its breaking the eula or not and neither well explain how this is done.. you can find it with the search
  2. CoZ

    die and pay for it :P

    * CoZ bows before lil Toady your code works, as ever, like a charm TNX ------- edit update .. script started to lag more and more and more the longer it ran today so it basically works, but making the script respond 2 or 3 seconds later than a event is probably not good
  3. Happy birthday i wont put down a pie .. i've heard some rumors about pies on this forum getting 'lost'
  4. yes and no it isnt possible in mta:sa to private message the script - afaik so it may be possible to create its kinda impossible to use (well its possible, but everyone sees the password - so its not really a good idea) but maybe there is a workaround have server email (dont ask me how , but mirc is quitte powerfull.. so i suspect its possible) a new pasword to a previously set email adres when a pasword is used by the admin all in all .. a very good challenge
  5. .. your violating the eula of mta but while were at it heres mine
  6. k .. i have money script -bit edited from tommis rpg thing, thx tommis- and wanted to spice it up a bit more well im just testing it atm, and what im testing is paying to die (imho this could encourage people to try and race better and not suicide when they run off track.. also its the alternative to giving people cash for killing someone on a dm map - because that is impossible atm) anyway .. the code to pay cash on death aint that hard and so far people are somewhat okay with it on *:SIGNAL:mta.death: { [snip] if ($gus.cash($1,$2) >= 25) { !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.subtract($gus.cash($1,$2),10) mta.pm $1 $2 Payed $chr(36) 10 for hospital .. be carefull this time } elseif ($gus.cash($1,$2) <= 24) { !.timer 1 1 mta.pm $1 $2 Earn some cash and pay hospital bill later.. your lucky now } } but what i want to do is make a 10 sec exception for when you just spawned.. well my guess is (, based on the marginal scripting i learned so far , ) i need some sort of timer in on *:SIGNAL:mta.respawn: { } or $mta.respawn and have the death part check if timer is running also similar when map ends and gets unloaded .. people fall and tend to drown a lot so ill probably need a similar trick with on *:SIGNAL:mta.finish: { } or $mta.finish but my coding is still pretty much limited to adding mta.text and simple ifs can someone point me in the right direction ?
  7. CoZ

    PHP Stats Script

    maybe you wanna try and look on http://www.game-monitor.com your server probably is listed there with the things your looking for like this http://www.game-monitor.com/GameServer/ ... rying.html well you could try and make it yourself , but i have no idee
  8. if script is still running .. all commands still work , you dont get error messages .. then yes its installed ok oh .. silly .. i forgot one smaaaaall thing . the part where you win cash 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 out of %players Players $+ ! (Rank: First $+ ) (Money Earned: $chr(36) $+ $calc(50 * %players) $+ ) !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.add($gus.cash($1,$2),$calc(50 * %players)) } elseif (1 = %players) { mta.text $1 $mta.nick($1,$2) Playing with yourself earned you money too $+ ! (Rank: First $+ ) (Money Earned: $chr(36) $+ $calc(50 * %players) $+ ) !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.add($gus.cash($1,$2),$calc(50 * %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) $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) $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,$2) $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,$2) $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,$2) $gus.add($gus.cash($1,$2),$calc(2 * %players)) } } else mta.text $1 $mta.nick($1,$2) came in %rank place } on *:SIGNAL:mta.startrace: { ;Parameters: ;$1 = Server ;$2 = Race ID ;$3 = 0/1/2 (success,failed,no players) %remmap = $readini($scriptdir $+ remmap.ini,REMMAPS,$replace($mta.race($1),$chr(32),-)) if (%constant = on && %constantmap != $mta.race($1) && %remmap != 1) mta.startrace $1 %constantmapid if (%remmap == 1 && %constant != on) { mta.text $1 Map " $+ $mta.race($1) $+ " has been removed, changing to a random map.. !.timer 1 1 mta.startrace $1 $rand(0,$mta.races($1)) } if ($3 == 0 && %remmap != 1) { set %race $2 set %deaths 0 set %topt 0 set %currentdeaths 0 var %a = $calc($readini($scriptdir $+ mta.stats.ini,n,$mta.races($1,$2),times) + 1),%b = $calc($readini($scriptdir $+ mta.stats.ini,n,ALL,times) + 1) !writeini -n $+(",$scriptdir,mta.stats.ini,") ALL times %b !writeini -n $+(",$scriptdir,mta.stats.ini,") $+(",$mta.races($1,$2),") times %a if ($mta.races($1,$2) != $null) mta.text $1 $mta.races($1,$2) - Top Time: $gus.toptime($1) - By: $gus.topname($1) - Deathlimit: $gus.deathlimit($1,$2) - Played: $+(%a,/,%b) times ( $+ $round($calc(100 / %b * %a),2) $+ % $+ ) set %topt $gus.toptime($1) } if ($readini($scriptdir $+ instructions.ini,INSTRUCTIONS,$replace($mta.races($1,$2),$chr(32),)) != $null && $readini($scriptdir $+ instructions.ini,INSTRUCTIONS,$replace($mta.races($1,$2),$chr(32),)) != default && %remmap != 1) { mta.text $1 $mta.races($1,$2) - Instructions: $readini($scriptdir $+ instructions.ini,INSTRUCTIONS,$replace($mta.races($1,$2),$chr(32),)) } } note .. i made improving a record pay 2x the value of wining a race (so in total if you win a race and set record you get the win of race * 3) on *:SIGNAL:mta.finish: { ;Parameters: ;$1 = Server ;$2 = ID %players = $mta.server($1).players %say = $mta.server($1).players - 1 if ($gettok($readini($scriptdir $+ times.ini,TOP,$replace($mta.race($1),$chr(32),-)),2,32) >= $mta.time($1,$2) && $mta.rank($1,$2) == 1 && $mta.race($1) != $null) || ($gettok($readini($scriptdir $+ times.ini,TOP,$replace($mta.race($1),$chr(32),-)),2,32) == $null && $mta.rank($1,$2) == 1 && $mta.race($1) != $null) { if ($gettok($readini($scriptdir $+ times.ini,TOP,$replace($mta.race($1),$chr(32),-)),2,32) != $null && $gettok($readini($scriptdir $+ times.ini,TOP,$replace($mta.race($1),$chr(32),-)),2,32) >= $mta.time($1,$2)) { mta.text $1 Improved Best Time on $mta.race($1) $+ ! (Time: $gus.time($1,$2) $+ ) (By: $mta.nick($1,$2) $+ ) !writeini -n " $+ $scriptdir $+ times.ini" TOP $replace($mta.race($1),$chr(32),-) $mta.nick($1,$2) $mta.time($1,$2) !writeini -n " $+ $scriptdir $+ times.ini" TIMES $replace($mta.race($1),$chr(32),-) $gus.time($1,$2) !.timer 1 2 mta.text $1 $mta.nick($1,$2) Setting Better Best Time (Money Earned: $chr(36) $calc(200 * %players) ) !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.add($gus.cash($1,$2),$calc(200 * %players)) } elseif ($gettok($readini($scriptdir $+ times.ini,TOP,$replace($mta.race($1),$chr(32),-)),2,32) == $null && $gettok($readini($scriptdir $+ times.ini,TOP,$replace($mta.race($1),$chr(32),-)),1,32) == $null) { mta.text $1 New Best Time on $mta.race($1) $+ ! (Time: $gus.time($1,$2) $+ ) (By: $mta.nick($1,$2) $+ ) !writeini -n " $+ $scriptdir $+ times.ini" TOP $replace($mta.race($1),$chr(32),-) $mta.nick($1,$2) $mta.time($1,$2) !writeini -n " $+ $scriptdir $+ times.ini" TIMES $replace($mta.race($1),$chr(32),-) $gus.time($1,$2) !.timer 1 2 mta.text $1 $mta.nick($1,$2) Setting New Best Time (Money Earned: $chr(36) $calc(100 * %players) ) !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.add($gus.cash($1,$2),$calc(100 * %players)) } } if (%rpg == on) gus.rpgwin $1 $2 if ($mta.rank($1,$2) == 1) !writeini -n " $+ $scriptdir $+ stats.ini" WINS $mta.nick($1,$2) $gus.add($gus.wins($1,$2),1) !writeini -n " $+ $scriptdir $+ stats.ini" RACES $mta.nick($1,$2) $gus.add($gus.races($1,$2),1) } also note .. you need to add the commands to the !commands list if you havent done that also .. you need to do !rpg on before it works and i edited it somewhere so its turned on always
  9. if you can connect .... on adres 'localhost' (or in IP : 127.0.0.1 ) (if server is on same computer as gta .. or on the internal network IP .. probably 10.0.0.X or 192.168.1.X (but youll have to figure it out with the command ipconfig in - start - run - cmd ) but other people cant .. problem = router / firewall or other extra sercurity software so there might be a slight error in the ports you configured to be forwarded (maybe tcp instead of udp - maybe you added the rules but didnt save in modem page ?) make sure it goes to the right internal IP .. and set the compu with server on a fixed internal IP ( start - settings - network - rightmouse connection - internet protocol (tcp/ip) .. change automatically to (valid) manual input hope this gives some ideas .. its really hard for us to help you configure IPs , portforwarding etcetc
  10. no support ! no installation tips ! , and dont bug me to help you install it but here is the rpg snippets i hope i got all of them in one go only thing ill do is add what on :* event i cutted it from oh .. ps note this is a tweaked version ... - so you may need to adjust prices to your likings (both in the message as in the !writeini) the money it gives is on race finish changed from original (not included ..thats still in x16 right ? ..else ask) also i added a item to buy .. kick i removed !givecash .. it had a major bug allowing people to STEAL cash and ill leave in the !admingivecash command - only level 10 admin (dont use it tho (and yes its also possible to take money with that ) i added 'random' as option to rpgchangemap ps .. there is a bug in using the rpgchangemap - it doesnt get removed from items list .. i havent figured out why .. code looks good .. alias gus.iscash { if ($readini($scriptdir $+ RPG.ini,CASH,$mta.nick($1,$2)) == $null) !return 0 else !return 1 } alias gus.cash { if ($readini($scriptdir $+ RPG.ini,CASH,$mta.nick($1,$2)) != $null) !return $readini($scriptdir $+ RPG.ini,CASH,$mta.nick($1,$2)) else !return 0 } alias gus.nameitems { if ($readini($scriptdir $+ RPG.ini,ITEMS,$mta.nick($1,$2)) != $null) !return $readini($scriptdir $+ RPG.ini,ITEMS,$mta.nick($1,$2)) else !return N/A } alias gus.items { !return $readini($scriptdir $+ RPG.ini,ITEMS,$mta.nick($1,$2)) } alias gus.freezetime !return $readini($scriptdir $+ RPG.ini,ITEMS,Freeze) alias gus.mutetime !return $readini($scriptdir $+ RPG.ini,ITEMS,Mute) alias gus.time { if ($gettok($mta.time($1,$2).text,1,58) != 00) !return $gettok($mta.time($1,$2).text,1,58) $+ mins $gettok($mta.time($1,$2).text,2,58) $+ . $+ $gettok($mta.time($1,$2).text,3,58) $+ secs else !return $gettok($mta.time($1,$2).text,2,58) $+ . $+ $gettok($mta.time($1,$2).text,3,58) $+ secs } from on *:signal:mta.command : elseif ($3 == !cash && %rpg == on) { if ($4 == $null) mta.text $1 $mta.nick($1,$2) $+ 's Cash: $chr(36) $+ $gus.cash($1,$2) elseif ($4 && %a == -1) mta.pm $1 $2 Error - Absent ID , please use $+ /vote else mta.text $1 $mta.nick($1,%a) $+ 's Cash: $chr(36) $+ $gus.cash($1,%a) } elseif ($3 == !offlinecash && %rpg == on) { mta.text $1 $4 $+ 's Cash: $chr(36) $+ $readini($scriptdir $+ RPG.ini,CASH,$4) } elseif ($3 == !money && %rpg == on) { if ($4 == $null) mta.text $1 $mta.nick($1,$2) $+ 's Cash: $chr(36) $+ $gus.cash($1,$2) elseif ($4 && %a == -1) mta.pm $1 $2 Error - Absent ID else mta.text $1 $mta.nick($1,%a) $+ 's Cash: $chr(36) $+ $gus.cash($1,%a) } elseif ($3 == !pmc && %rpg == on) { if ($4 == $null) mta.pm $1 $2 $mta.nick($1,$2) $+ 's Cash: $chr(36) $+ $gus.cash($1,$2) elseif ($4 && %a == -1) mta.pm $1 $2 Error - Absent ID else mta.pm $1 $2 $mta.nick($1,%a) $+ 's Cash: $chr(36) $+ $gus.cash($1,%a) } elseif ($3 == !buy && %rpg == on) { if ($4 isnum && sec* iswm $5) { if (freeze* iswm $6) { if (5 >= $4) { if ($gus.cash($1,$2) >= 400) { if ($readini($scriptdir $+ RPG.ini,ITEMS,$mta.nick($1,$2)) == $null) { mta.text $1 $mta.nick($1,$2) has bought a " $+ $4 Second Freeze" for $chr(36) $+ 400 !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.subtract($gus.cash($1,$2),400) !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) Freeze !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS Freeze $4 mta.pm $1 $2 To use this on someone type: !rpgfreeze } else mta.pm $1 $2 Error - You can only have 1 item at a time. } else mta.pm $1 $2 Error - You need $chr(36) $+ 400 to buy this item. } elseif (10 >= $4 && $4 >= 6) { if ($gus.cash($1,$2) >= 1000) { if ($readini($scriptdir $+ RPG.ini,ITEMS,$mta.nick($1,$2)) == $null) { mta.text $1 $mta.nick($1,$2) has bought a " $+ $4 Second Freeze" for $chr(36) $+ 1000 !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.subtract($gus.cash($1,$2),1000) !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) Freeze !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS Freeze $4 mta.pm $1 $2 To use this on someone type: !rpgfreeze } else mta.pm $1 $2 Error - You can only have 1 item at a time. } else mta.pm $1 $2 Error - You need $chr(36) $+ 1000 to buy this item. } elseif (20 >= $4 && $4 >= 11) { if ($gus.cash($1,$2) >= 2500) { if ($readini($scriptdir $+ RPG.ini,ITEMS,$mta.nick($1,$2)) == $null) { mta.text $1 $mta.nick($1,$2) has bought a " $+ $4 Second Freeze" for $chr(36) $+ 2500 !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.subtract($gus.cash($1,$2),2500) !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) Freeze !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS Freeze $4 mta.pm $1 $2 To use this on someone type: !rpgfreeze } else mta.pm $1 $2 Error - You can only have 1 item at a time. } else mta.pm $1 $2 Error - You need $chr(36) $+ 2500 to buy this item. } } if (mute* iswm $6) { if (10 >= $4) { if ($gus.cash($1,$2) >= 400) { if ($readini($scriptdir $+ RPG.ini,ITEMS,$mta.nick($1,$2)) == $null) { mta.text $1 $mta.nick($1,$2) has bought a " $+ $4 Second Mute" for $chr(36) $+ 400 !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.subtract($gus.cash($1,$2),400) !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) Mute !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS Mute $4 mta.pm $1 $2 To use this on someone type: !rpgmute } else mta.pm $1 $2 Error - You can only have 1 item at a time. } else mta.pm $1 $2 Error - You need $chr(36) $+ 400 to buy this item. } elseif (15 >= $4 && $4 >= 11) { if ($gus.cash($1,$2) >= 1000) { if ($readini($scriptdir $+ RPG.ini,ITEMS,$mta.nick($1,$2)) == $null) { mta.text $1 $mta.nick($1,$2) has bought a " $+ $4 Second Mute" for $chr(36) $+ 1000 !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.subtract($gus.cash($1,$2),1000) !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) Mute !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS Mute $4 mta.pm $1 $2 To use this on someone type: !rpgmute } else mta.pm $1 $2 Error - You can only have 1 item at a time. } else mta.pm $1 $2 Error - You need $chr(36) $+ 1000 to buy this item. } elseif (25 >= $4 && $4 >= 16) { if ($gus.cash($1,$2) >= 2500) { if ($readini($scriptdir $+ RPG.ini,ITEMS,$mta.nick($1,$2)) == $null) { mta.text $1 $mta.nick($1,$2) has bought a " $+ $4 Second Mute" for $chr(36) $+ 2500 !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.subtract($gus.cash($1,$2),2500) !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) Mute !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS Mute $4 mta.pm $1 $2 To use this on someone type: !rpgmute } else mta.pm $1 $2 Error - You can only have 1 item at a time. } else mta.pm $1 $2 Error - You need $chr(36) $+ 2500 to buy this item. } } } elseif (change* iswm $4) { if ($gus.cash($1,$2) >= 2500) { if ($readini($scriptdir $+ RPG.ini,ITEMS,$mta.nick($1,$2)) == $null) { mta.text $1 $mta.nick($1,$2) has bought a "Change Map" for $chr(36) $+ 2500 !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.subtract($gus.cash($1,$2),2500) !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) ChangeMap mta.pm $1 $2 To use this type: !rpgchangemap or !rpgchangemap random !.timer 1 2 mta.pm $1 $2 be adviced a lot of map names dont work - and asterisk wont do random } else mta.pm $1 $2 Error - You can only have 1 item at a time. } else mta.pm $1 $2 Error - You need $chr(36) $+ 2500 to buy this item. } elseif (kick iswm $4) { if ($gus.cash($1,$2) >= 5000) { if ($readini($scriptdir $+ RPG.ini,ITEMS,$mta.nick($1,$2)) == $null) { mta.text $1 $mta.nick($1,$2) has bought a "Kick" for $chr(36) $+ 5000 !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,$2) $gus.subtract($gus.cash($1,$2),5000) !writeini -n " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) Kick mta.pm $1 $2 To use this type: !rpgkick } else mta.pm $1 $2 Error - You can only have 1 item at a time. } else mta.pm $1 $2 Error - You need $chr(36) $+ 5000 to buy this item. } else mta.pm $1 $2 Error - Absent Item (!buyhelp) } elseif (!price* iswm $3 && %rpg == on) { mta.text $1 GUS:RPG Prices - Freeze: $chr(36) $+ 400-2500 - Mute: $chr(32) $+ 400-2500 - ChangeMap: $chr(36) $+ 2500 - Kick: $chr(36) $+ 5000 } elseif ($3 == !rpgchangemap && %rpg == on) { if ($gus.items($1,$2) == ChangeMap) { if ($4 == $null) mta.pm $1 Error - $3 elseif ($4 == random) { set %rand $rand(0,$lines($shortfn($mta.dir) $+ filelist.txt))) mta.startrace $1 %rand } elseif ($4 && $gus.getmapid($1,$4-) == $null) mta.pm $1 $2 Error - Absent ID elseif ($4 && $gus.getmapid($1,$4-) != $null) { mta.text $1 $mta.nick($1,$2) is using his " $+ ChangeMap $+ " to Change Map to " $+ $gus.race($gus.getmapid($1,$4-)) $+ " $+ ! mta.startrace $1 $gus.getmapid($1,$4-) !remini " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) } } else mta.pm $1 $2 Error - You need to have a "ChangeMap" before you can use this. } elseif ($3 == !buyhelp && %rpg == on) { mta.pm $1 $2 Items to Buy: !buy 1-20 sec mute, !buy changemap, !buy 1-20 sec freeze, !buy kick } elseif ($3 == !rpghelp && %rpg == on) { mta.pm $1 $2 GUS:RPG - You Earn money from finishing races 1-4'th. mta.pm $1 $2 You can spend your money then on items. (!rpgcommands) mta.pm $1 $2 Or just collect it and show off with it !! } elseif ($3 == !rpgfreeze && %rpg == on) { if ($gus.items($1,$2) == Freeze) { if ($4 == $null) mta.pm $1 Error - $3 elseif ($4 && %a == -1) mta.pm $1 $2 Error - Absent ID elseif ($4 && %a != -1) { mta.text $1 $mta.nick($1,$2) is using his " $+ $gus.freezetime Sec Freeze $+ " on $mta.nick($1,%a) $+ ! mta.freeze $1 %a !.timer 1 $gus.freezetime mta.unfreeze $1 %a !remini " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) !remini " $+ $scriptdir $+ RPG.ini" ITEMS Freeze } } else mta.pm $1 $2 Error - You need to have a "Freeze" before you can use this. } elseif ($3 == !rpgmute && %rpg == on) { if ($gus.items($1,$2) == Mute) { if ($4 == $null) mta.pm $1 Error - $3 elseif ($4 && %a == -1) mta.pm $1 $2 Error - Absent ID elseif ($4 && %a != -1) { mta.text $1 $mta.nick($1,$2) is using his " $+ $gus.mutetime Sec Mute $+ " on $mta.nick($1,%a) $+ ! mta.mute $1 %a !.timer 1 $gus.mutetime mta.unmute $1 %a !remini " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) !remini " $+ $scriptdir $+ RPG.ini" ITEMS Mute } } else mta.pm $1 $2 Error - You need to have a "Mute" before you can use this. } elseif ($3 == !rpgkick && %rpg == on) { if ($gus.items($1,$2) == Kick) { if ($4 == $null) mta.pm $1 Error - $3 elseif ($4 && %a == -1) mta.pm $1 $2 Error - Absent ID elseif ($4 && %a != -1) { mta.text $1 $mta.nick($1,$2) is using his bought RPG Kick $+ " on $mta.nick($1,%a) $+ ! mta.kick $1 %a Someone used his bought RPG kick on you ! You were on [NL][CoZ] server ! go back ! !remini " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) !remini " $+ $scriptdir $+ RPG.ini" ITEMS Kick } } else mta.pm $1 $2 Error - You need to have a "Kick" before you can use this. } elseif (!item* iswm $3 && %rpg == on) { if ($4 == $null) mta.text $1 $mta.nick($1,$2) $+ 's Items: $gus.nameitems($1,$2) elseif ($4 && %a == -1) mta.pm $1 $2 Error - Absent ID elseif ($4 && %a != -1) mta.text $1 $mta.nick($1,%a) $+ 's Items: $gus.nameitems($1,%a) else mta.pm $1 $2 Error - Unknown Error } elseif ($3 == !rpgcommands && %rpg == on) { mta.pm $1 $2 RPG Commands: !cash, !items, !drop, !buy, !prices, !rpg, !rpghelp mta.pm $1 $2 RPG Item Commands: !rpgkick, !rpgmute, !rpgfreeze, !rpgchange } elseif ($3 == !admingive && %rpg == on) { if ($gus.level($1,$2) >= 10) { if ($4 == $null) mta.pm $1 $2 Error - $3 elseif ($4 && %a == -1) mta.pm $1 $2 Error - Absent ID elseif ($4 && %a != -1) { if ($5) { if ($5 isnum) { if ($gus.cash($1,$2) >= $5) { mta.text $1 $mta.nick($1,$2) gave $mta.nick($1,%a) $chr(36) $+ $5 from the gold mine !writeini -n " $+ $scriptdir $+ RPG.ini" CASH $mta.nick($1,%a) $gus.add($gus.cash($1,%a),$5) } } else mta.pm $1 $2 Error - $3 } else mta.pm $1 $2 Error - $3 } } else mta.pm $1 $2 Error - You need to be level 10 to use this command. } elseif ($3 == !drop && %rpg == on) { if ($gus.items($1,$2)) { mta.pm $1 $2 You have dropped " $+ $gus.nameitems($1,$2) $+ " !remini " $+ $scriptdir $+ RPG.ini" ITEMS $mta.nick($1,$2) } else mta.pm $1 $2 Error - No Items to drop. } elseif ($3 == !rpg) { if ($gus.level($1,$2) >= 7) { if ($4 == on) { set %rpg on mta.text $1 GUS RPG: On } elseif ($4 == off) { set %rpg off mta.text $1 GUS RPG: Off } elseif ($4 == $null) mta.text $1 GUS RPG: %rpg else mta.pm $1 $2 Error - $3 } else mta.pm $1 $2 Error - You need to be level 7 to use this command. } well i hope i copied everything .. only if you mis something ask ..
  11. CoZ

    waitlist

    good idea one hand - unless the queue gets so long and you forget about it and go mental on cp 87 / 90 when you get connected to the server you were waiting for
  12. with all do respect to the team .. i do know this is a really big achievment .. and i cant complement you enough .. so this simplified explanation is just to shed a light for the question of ShAdOwSnIpEr i repeat IN NO WAY DOES THIS SIMPLIFICATION IMPLY IT _IS_ SIMPLE WHAT THE TEAM DID (ye go try it yourself for fun ) also note ..this is my own gibberish and im not related to or have seen any of the actuall work done by the actuall team making the game online compare it with a 3 layered bankvault representing the game -there is a layer with money and security = the core and other hardcoded things -a layer with padlocks = the shell, the AI, physics -and a pretty tough outer shell = gfx files , paths that traffic follows. some animation the team has to decompile the bankvault change things recompiling it to a still working state with features added making the game online well .. thats somewere in layer with padlocks with a bit of the core .. altering it just a bit so it still loads , but loads a empty gameworld .. then with some magic on the outer shell and the padlock layer .. the mta menus and mta game is loaded the online part is basically - you connect .. server sends map , client translates it to a position in the gameworld , gets the weather , the time and such.. - your client monitors your position and actions in mta it sends info to server server sends info to other clients that need to have the same info (if your in santos you dont need to know player x in fierro knocked over a barrel ) (this saves a huuuuge amount of data)) and your client projects the other players and other actions in your game [side note in a perfect online game , the game is actually played on the server, the server dictates everything and clients just send the actions you do to the game in mta .. your still playing in your own single player game , but happen to get information injected about a car driving around - which happens to be a online player ( k i know this part wont make a lot of sense to most people - ill make it simple online games are build for online gaming - gta is tweaked to be a online game... its subtle .. but you can see the difference very well if you know what to look for -- the mta team has to do their best to synchronise everything .. in current mta you sometimes see people driving through barrels - float in air on a break map - in a (perfect) pure online game ..everything is synced because every action is done on the server and everyone sees same result---- i just wanted to stress this part because this is basically why its relative easy for someone to create a cheat for mta opposed to 'the perfect online game' . they only have to modify your client in a way the server still accepts it -- k i know, now im going to far.. but i hope it gives some insight .. (also note the perfect online game might not exist because load and bandwith - but thats another step))) k .. now the question part the alt-tab = pause is buried somewhere deep in the 'security and money' layer -- so its harder to change it and put it back together in a working manner ... just like open heart surgery (the pausing) is harder than colouring your hair (changing a billboard) .. but doing a huge part of skin transplantation is .. well thats still hard .. but appearantly the operation is a pretty good succes so far(mta) ok if anyone still grasps my rambling .. hehe , good job if not .. please note its 4.30am here
  13. CoZ

    Do this in MTA

    this is a period >>> . << anyway .. ontopic .. enough people against this motion i'd say , case closed. AT the tank would be a lot better idea but still that thing needs a lot of bullets .. *sigh* ... edit one more lame remark with the default gatling gun .. they should rename mta to multi death auto
  14. did you restart the mirc script on *:SIGNAL:mta.connect:{ [snip]
  15. tried making a seperate .mrc file with that content and load it in mirc ? jani beat me to it .. i was eating
  16. welcome to the forum first of caps and BOLD are not a good way to ask questions but ill be friendly the simple explenation 1make sure server runs smooth 2get mirc l3oad script 4execute script 5connect to server which part goes wrong on your end ?
  17. CoZ

    level system

    with the current mta race it is possible to have a script which gives cash to the winner (and every amount of 2nd, 3rd, 4th etcetc players you like) unfortunately there is no way for the script to know who killed someone it could be made that just dying looses them cash and as you probably know in the current mta its only the boring white tshirt and that cant be changed with the money what you can create as uses for cash, things like letting a player buy a x second mute / freeze on a other player .. or change map . or even kick a player (i strongly suggest not including a ban ) there are 2 or 3 servers out there with such a money feature (i wont spam them here tho )
  18. CoZ

    Do this in MTA

    bad idea ... period
  19. atm .. only thing is to pray the anticheat gets updated (which imho will be somewhere after they release mta:dm ) but the next best thing .. just play in servers with admins...
  20. edit the banlist in C:\Program Files\MTA San Andreas\server & C:\Program Files\MTA San Andreas\server\mods\race then restart server ( is that bug known to the team btw - pretty severe bug you need to restart the server to get someone unbanned - also imho a bug that it keeps two identical banlists)
  21. the rings automatically point to the next ring the only workaround for your problem add a ring 'in front' of the ring you want to be 'straight' you'll still have the same effect with rings pointing to the next ring .. but at least one circle will stay paralel to the road
  22. ill come back when the norwegian only part is removed for unsufficient actors
  23. just one downside any noob can become admin by changing his nick
  24. cool .. if its not too much trouble / if its not going to take too much time off creating the map
  25. isnt it same in normal gta ? for race it can be annoying if you know exactly how to get each car back up however you got upside down.... but remember a lot dont know and i meant , if your upside down your screwed - in race - anyway.. youll still loose a lot of time.. if you die or if you take about the same time to flip maybe .5 or 1 second would be helpfull. but longer might make it a lot more frustrating to play ... already i dont feel like waiting for the car to get on fire and explode .. if im upside down without possibility to get up - according to me- = /kill
×
×
  • Create New...