Jump to content

damnet007

Members
  • Posts

    87
  • Joined

  • Last visited

Everything posted by damnet007

  1. My server has been working quite fast for pat few days then suddently today it became very slow - When i type conmands response is in less than a second, when others do, response takes over 20secs sometimes, if mtama doesnt time out! i'm completely lost any ideas? ive tried restarting server, reloading scripts, etc, only sped it up by 2secs.
  2. damnet007

    wondering...

    is there any way of turning off the !psl command on mtama? whenever some1 type !psl my mirc crashes and so all scripts close any idea how to solve this / how to disable psl? thanx
  3. my mta.exit says this: } on *:SIGNAL:mta.exit:{ $+(!.timerkill,.,$1,.,$2) off if $calc($rpg.petrol($1,$3) - $calc($calc($ctime - $rpg.entertime($1,$3)) / 10)) < 0 { !writeini -n "rpg.data.ini" petrol $3 0 } else !writeini -n "rpg.data.ini" petrol $3 $calc($rpg.petrol($1,$3) - $calc($calc($ctime - $rpg.entertime($1,$3)) / 10)) } thats all i could find in my rpg script
  4. i have probs with my rpg script --> when the car bomb blows up once it doesnt turn off so people cant use the car unless i go into the data files and manually remove it. also, my timebomb cant be rigged as wehn i type !rig it says i can only rig properties, when im at a property. im really lost THE CAR BOMB: } elseif ($readini(rpg.data.ini,rigged,$mta.vehicle($1,$2)) != $null) { mta.msg $1 $2 Tick! Tick! Tick! GET OUT OF THE CAR! $chr(124) 3 Secs! !.timer 1 5 !remini -n "rpg.data.ini" ) rigged $mta.vehicle($1,$2) !.timer 1 5 !remini -n "rpg.data.ini" ) riggedby $mta.vehicle($1,$2) $+(!.timerkill,.,$1,.,$2) 1 3 rpg.bombkill $1- } } alias rpg.bombkill { !.timer 5 0 mta.slap $1 $2 !.timer 1 2 mta.say $1 $mta.name($1,$2) Blew up By $readini(rpg.data.ini,riggedby,$mta.vehicle($1,$2)) $+ 's Car Bomb! } } alias rpg.rig { if $mta.vehicle($1,$2).name != foot { if $rpg.items($1,$2) == Bomb { !writeini -n "rpg.data.ini" rigged $mta.vehicle($1,$2) 1 !writeini -n "rpg.data.ini" riggedby $mta.vehicle($1,$2) $mta.name($1,$2) !remini -n "rpg.ini" $mta.name($1,$2) items mta.msg $1 $2 Rigged: $mta.vehicle($1,$2).name } else mta.msg $1 $2 You are not carrying a bomb } THE TIMEBOMB (FOR PROPERTIES): } elseif $rpg.items($1,$2) == Timebomb { if $rpg.areatype($1,$2) == Property) { if ($4 < 300 || $4 == $null) { var %a = $iif($4 == $null,120,$4) !remini -n "rpg.ini" $mta.name($1,$2) items !.timer 1 $calc(%a - 2) !writeini -n "rpg.ini" timebombed $mta.name($1,$2) $rpg.area($1,$2) !.timer 1 %a rpg.timebombed $1- mta.msg $1 $2 RPG > Timebomb - Timer: $duration(%a) - Area: $rpg.area($1,$2) } else mta.msg $1 $2 RPG > Error: /msg rig (1-300) } else mta.msg $1 $2 RPG > You can only rig properties } else mta.msg $1 $2 RPG > You are not carrying a Timebomb } alias rpg.timebombed { var %a = 0,%b while %a < $mta.maxplayers($1) { if $rpg.area($1,%a) == $readini(rpg.ini,timebombed,$mta.name($1,$2)) { !.timer $calc($calc($mta.health($1,%a) / 20) + 1) 0 mta.slap $1 %a !inc %b } !inc %a } if (%b) { !writeini -n "rpg.ini" $mta.name($1,$2) cash $calc($rpg.cash($1,$2) + $calc(1000 * %b)) mta.msg $1 $2 Blew up %b people - Gained: $chr(36) $+ $calc(1000 * %b) !.timer 1 3 mta.say $1 $mta.name($1,$2) Timebombed $readini(rpg.ini,timebombed,$mta.name($1,$2)) and killed %b } } would be really greatful if this could be sorted, thanx
  5. sorry ppl, i had that on there cos ppl kept getting errors with the normal one when on my server, wont do it again
  6. you can make me one if itl work but i dont know how to script itd be great if you could though. if you can let me know at: LINK REMOVED the forums section
  7. lol vital you n00b you need my help always Save the file as .rtf and then upload it. and dont copy my motd hehe
  8. yes i also get no crc errors, i never used to but after the last update i get atleast 4-5 everyday. it happens everytime the odd user comes onto my server, and then people get annoyed when i close mirc and reopen it as it turns off the scripts for a while.
  9. thanx m8 problem sorted
  10. thanx but i just tried yours and it still hasnt sorted it any ideas?
  11. alias rpg.give { var %a = $iif($4 == $null,$2,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4))) if %a != -1 && %a != $2 { if $5 && $5 isnum && $5 > 0 { mta.say $1 $mta.name($1,$2) gave $chr(36) $+ $5 to $mta.name($1,%a) !writeini -n "rpg.ini" $mta.name($1,%a) cash $calc($rpg.cash($1,%a) + $5) !writeini -n "rpg.ini" $mta.name($1,$2) cash $calc($rpg.cash($1,$2) - $5) } else mta.say $1 Syntax: !give } else mta.msg $1 $2 Cannot give urself/invalid person money Wondering if some1 could plz tell me how to make it so that people cant give cash to others if they have too little cash, as its currently leaving people with minus cash, eg cash: -100. thanx
  12. for the grs problem use the mta server patch, just copy the .exe file over to your mta server directory and say yes to replacing it. GRS should have a member registration built in i think, people type /msg register, etc to register and /login to login.
  13. still no help. if any1 could help me with a !suspect and !jail script i would really be greatful
  14. i just tried it but it doesnt seem to work ?!? what am i meant to type? i typed !suspect, no respsonse, so i type !suspect and that didnt work, !suspect
  15. damnet007

    timed modes?

    once again i am lost (and im sorry to all those ppl who i may be beginning to annoy ). just looking for a script which says that the server is in DM mode between 18:00-20:00, and in RPG mode for the rest of the day. dont know if this is possible though. oh and i use the happyslap script but how do i make it usable only by admin? thanx on *:SIGNAL:mta.command:{ if ($3 == !happyslap) { var %a = 1 while (%a < 6) { mta.slap $1 $4 !inc %a } } }
  16. i dont know what i did but now i cant be kicked by lower admin, but i can still be warned by them, is there any way of stopping this?
  17. ok i made a fresh installation of mirc to another directory and i then downloaded mtama and grs. i updated when i was told updates were available but admin level 2 can still kick level 5 and warn them, etc! wth is going on?
  18. so what, do i have to part with my ini's now?
  19. some1 help me please! my grs is letting admin level 2 kick admin level 5! i dont know how to script but i want to change this (lol) urgently! i would have just got a new grs installed but i dont want to lose the settings etc. please help!!
  20. can some1 please get me this script ? im trying to learn to script lol but atm im short of time as people want this script in my server. thanx in advance
  21. ok panther i have sent u my msn add, thanx
  22. ok change in plans... i need a script which has !jail commands and !suspect commands for deathmatch mode, and also when some1 enters a limo i need it to say is the new limo driver, !limo to call for a limo. if som1 could do this i would be very greatful. thank you
  23. dont think any1 has it im really unlucky with scripts
×
×
  • Create New...