Jump to content

SanZoR

Members
  • Posts

    744
  • Joined

  • Last visited

Everything posted by SanZoR

  1. This part is not needed in meta.xml? <file src="phoenix.dff" /> <file src="phoenix.txd" />
  2. Btw, some of the size problems are easy to solve if you edit the map files. And also mta has been made for playing with higher resolution than 800x600. etc. i play with 1280x1024 and its all just fine. If you got a bit older computer, try to raise resolution and to lower your object quality and draw distance. It will help you a little
  3. Hello, I been searching now there forums for a few mins, and i fount a lot of posts, where were people asking a model replacing script. It seems they never get working one. So, now im asking can someone make one. It should be just clientside script, so the new model is possible to download from my resource site. (I setted it to do so in server confing file) So it should work like this: txd = engineLoadTXD ( "phoenix.txd" ) engineImportTXD ( txd, 603 ) dff = engineLoadDFF ( "phoenix.dff", 603 ) engineReplaceModel ( dff, 603 ) These new models are located in /resources/phoenix_mod/phoenix.txd & .dff aswell as the script. It should replace all models instantly, i mean there is no /replace or another stuff, and downloads the mods instantly when player joins. Im sure this is easy to make, but there is a lot of not-so-good lua scripters around, like me Anyway, thanks in advance
  4. If you wanna know the right model, see http://www.vces.net/info/index.php
  5. open gta or press ctrl alt esc, and goto display settings > advanced and set frame limiter on. Each other player should do this to set max fps to ur server.
  6. ah, thank you =) Now i got all of resources just in folder. Works just fine aswell.
  7. https://forum.multitheftauto.com/viewtopic.php?f=90&t=21151
  8. Hello, This is bit like an error report. The Generic Linux version doesnt works, cause of votemanager. Its impossible to start a map. What i should do to fix this? tyvm.
  9. Use Search next time. viewtopic.php?f=90&t=20990 (last post)
  10. Ok, thanks =) Btw, how i can add scripts to my server? Should i just add a .lua file to resources, and load it?
  11. Thats the problem. I get a hell of lagg when someone downloads files from my server. Thats why this would be very useful!
  12. Hello, I put all my files from "resources" file to my www server, and tried to add that site to server confing file. I have tried it by many ways, but it gives an error over and over again? What i should to do? This is what i got: <httpdownloadurl>http://www.fin-mta.net/serverfiles/resources/</httpdownloadurl> Thats the database of resources, and it doesnt work for some reason. Any help, plz? Thanks in advance!
  13. Wrong, mta cant display special letters.
  14. Hello, i decided to make a woring trace script few days ago, and there it goes: on *:SIGNAL:mta.connect: { !.timer 1 2 mta.text $1 SanZoR's Ultimate !trace Script V1.0 Connected! } alias gusms.getid { var %id = 0 while (%id < 32) { if ($+(*,$2,*) iswm $mta.nick($1,%id)) !return %id !inc %id } } on *:SIGNAL:mta.command: { if ($3 == !info) mta.text $1 SanZoR's !trace script V1.0 elseif ($3 == !trace) || ($3 == !lookup) || ($3 == !location) { var %a = $iif((!$4),$2,$iif(($gusms.getid($1,$4) == $null),$2,$v1)) mta.pm $1 $2 Tracing $mta.nick($1,%a) $+ , please wait... gusms.trace $1 %a } } alias gusms.trace { set %gusms.trace $1 $2 if (!$sock(gusms.trace $+ $mta.ip($1,$2))) sockopen gusms.trace $+ $mta.ip($1,$2) 2ip.ru 80 } on *:SOCKOPEN:gusms.trace*:{ tokenize 32 %gusms.trace if ($sockerr > 0) { sockclose $sockname mta.text $1 Trace: An error has occured. } else { sockwrite -n $sockname GET /geoip/?ip= $+ $mta.ip($1,$2) HTTP/1.1 sockwrite -n $sockname User-Agent: MSIE 6.0 sockwrite -n $sockname Host: 2ip.ru sockwrite $sockname $crlf } } on *:SOCKCLOSE:gusms.trace*:{ unset %tr.* } on *:SOCKREAD:gusms.trace*:{ var %t sockread %t if (%go) { unset %go tokenize 32 %gusms.trace mta.text $1 $mta.nick($1,$2) $+ 's Location: $gettok(%t,2-,32) sockclose $sockname } if ([url=http://2ip.ru/flags/]http://2ip.ru/flags/[/url] isin %t) { set %go 1 } } Enjoy!
  15. SanZoR

    New DM Script!

    alias cplayers !return $numtok($readini(Alive.ini,alive,ids),32) alias players.server !return $did(mta,$1 $+ 02).lines alias gus.getid { var %a = 0 while (%a <= $mta.server($1).cmax) { if ($+(*,$2,*) iswm $mta.nick($1,%a)) !return %a !inc %a } !return -1 } alias mta.end { if ($cplayers($1) == 1) && (players.server($1) >= 1) && (%mta.endwinner == $null) { var %a = $readini(Alive.ini,alive,ids) mta.text $1 $mta.nick($1,%a) is winner! !writeini -n stats.ini WINS $mta.nick($1,%a) $calc($readini(stats.ini,WINS,$mta.nick($1,%a)) + 1) set %mta.endwinner 1 !halt } } on *:SIGNAL:mta.startrace: { var %a = 0,%b = ffs unset %mta.endwinner !remini -n Alive.ini Alive IDs while (%a <= $mta.server($1).cmax) { if ($mta.nick($1,%a) != $null) { if (%b == ffs) %b = %a else %b = %b %a } !inc %a } !writeini alive.ini alive ids %b } on *:SIGNAL:mta.part: { var %b = $readini(Alive.ini,alive,ids) if ($findtok(%b,$2,1,32) != $null) { !writeini -n alive.ini alive ids $deltok(%b,$findtok(%b,$2,1,32),32) mta.end $1 } } on *:SIGNAL:mta.death: { var %b = $readini(Alive.ini,alive,ids) !writeini -n alive.ini alive ids $deltok(%b,$findtok(%b,$2,1,32),32) mta.end $1 } on *:SIGNAL:mta.respawn: { set %mta.endwinner 1 } Nah, this is better
  16. SanZoR

    New DM Script!

    Yeah, it is It will be in next release of GUSMS too.
×
×
  • Create New...