capitanazop

Members
  • Content Count

    127
  • Joined

  • Last visited

Everything posted by capitanazop

  1. i was searching and i find there the "plugin" that allow to replace .ifp files are currently no working. is there another option to put custom animations on mta? :~ guys sorry wrong forum.
  2. Hi, i want to take some screenshots without any gui, image, from server. i know how to disable radar and game hud, mta chat but is there any way to disable via console or something the servers things? bye and sorry for my english
  3. hi my clan [LPA] from chile (150~180 ping from usa, and 200~240 from europe) are looking for clan war but whit our gamemode. you can see at: 201.238.222.68:22004 Password: orca the server has a 100 frags limit, screen score, and admins commands like announce, freezeall,set score and other things. the server are whit 999 stats in all weapons and have Reload and C-bug on. if you want a clan war just post here, and add me to msn for set the day and hour. 4vs4 3vs3 2vs2 Bye and sorry for the english.
  4. hi my clan [LPA] from chile (150~180 ping from usa, and 200~240 from europe) are looking for clan war but whit our gamemode. you can see at: 201.238.222.68:22004 Password: orca the server has a 100 frags limit, screen score, and admins commands like announce, freezeall,set score and other things. the server are whit 999 stats in all weapons and have Reload and C-bug on. if you want a clan war just post here, and add me to msn for set the day and hour. 4vs4 3vs3 2vs2 Bye and sorry for the english.
  5. well i tried with this code but doesnt work, just show 1 time the number and i get an error: IMAGE = guiCreateStaticImage(.40,.50,.2,.2,"images/0.png",true); function Countdown( commandName, seconds ) guiStaticImageLoadImage( IMAGE, "images/" .. tostring( seconds ) .. ".png" ); guiSetVisible( IMAGE, true ); if ( seconds > 0 ) then -- do we need to continue countdown? setTimer( Countdown, 1000, 1, seconds - 1 ); -- call this function again in 1sec. with decreased value of "seconds" else CountdownFinished( ) end end function CountdownFinished( ) guiStaticImageLoadImage(305,119,320,81,"images/0.png" ); setTimer( guiSetVisible, 2000, 1, IMAGE, false ); end addCommandHandler ( "countdown", Countdown, true ) i use /countdown 10 and the error is: [2010-01-02 03:02:42] - ERROR: ...Andreas\mods\deathmatch\resources\liga\aa_client.lua:180: attempt to compare number with string Line 180: if ( seconds > 0 ) then -- do we need to continue countdown?
  6. hi well i test the countdown script but this only show to the player who use this command, how i can do to show to all players? here the code. function Countdown () guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(.40,.40,.2,.2,"images/10.png",true) setTimer ( Countdown9, 1000, 1 ) outputChatBox ( "the match start in!", getRootElement(), 255, 255, 255, true ) end addCommandHandler ( "vamos", Countdown ) function Countdown9 ( ) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(.40,.40,.2,.2,"images/9.png",true) setTimer ( Countdown8, 1000, 1 ) end function Countdown8 ( ) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(.40,.40,.2,.2,"images/8.png",true) setTimer ( Countdown7, 1000, 1 ) end function Countdown7 ( ) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(.40,.40,.2,.2,"images/7.png",true) setTimer ( Countdown6, 1000, 1 ) end function Countdown6 ( ) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(.40,.40,.2,.2,"images/6.png",true) setTimer ( Countdown5, 1000, 1 ) end function Countdown5 ( ) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(.40,.40,.2,.2,"images/5.png",true) setTimer ( Countdown4, 1000, 1 ) end function Countdown4 ( ) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(.40,.40,.2,.2,"images/4.png",true) setTimer ( Countdown3, 1000, 1 ) end function Countdown3 ( ) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(.40,.40,.2,.2,"images/3.png",true) setTimer ( Countdown2, 1000, 1 ) end function Countdown2 ( ) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(.40,.40,.2,.2,"images/2.png",true) setTimer ( Countdown1, 1000, 1 ) end function Countdown1 ( ) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(.40,.40,.2,.2,"images/1.png",true) setTimer ( Countdown0, 1000, 1 ) end function Countdown0 ( ) guiSetVisible ( imagecount, false ) imagecount = guiCreateStaticImage(.40,.40,.2,.2,"images/go.png",true) setTimer ( CountdownEnd, 3000, 1 ) end function CountdownEnd ( ) guiSetVisible ( imagecount, false ) end bye
  7. hi well i want to compile or encrypt a script like hrbk scripts (basemode, closerange bug) or slothman bots. how can be do that? bye .)
  8. local myMarker = createMarker( -2596.6259765625, 579.3583984375, 15.626741409302, 'cylinder', 2.0, 255, 0, 0, 150 ) function MarkerHit( hitPlayer, matchingDimension ) setElementPosition ( hitPlayer, posX, posY, posZ ) end addEventHandler( "onMarkerHit", myMarker, MarkerHit )
  9. acl.xml are in mods/deathmatch and i tried with the default and i have te same problem . Edit: i delete all the config files and upload again and config the files again and now work fine
  10. hi well finally the admin fix all the lib problems but now i get this error D: first i think the error are a permisions problem but i set all the permisions 777 and the problem continues. what can be do? [11:55:21] ERROR: Error parsing Access Control List file =========================================================== = Multi Theft Auto: San Andreas v1.0.3 =========================================================== = Server name : xxxx = Server IP address : = Server port : xxxx = = Log file : ../mta/ladder/mods/deathmatch/logs/server.log = Maximum players : 33 = MTU packet size :xxx = HTTP port : 22005 =========================================================== [11:56:01] Resources: 270 loaded, 1 failed [11:56:01] ERROR: Error parsing Access Control List file [11:56:01] Server stopped! [11:56:01] Stopping resources... [11:56:01] Closing SQLite3 database Press Q to shut down the server! bye (:
  11. i have the same problem with debian 5 lenny 64bit and i install that library and execute that command and i get again the error .
  12. i want the same and this resource work perfectly in dp 2.3 but when you upgrade dont work correctly in 1.0.2
  13. D: thanks man i gonna try with this one EDIT: dont work D: <map src="maps/villazombie.map" dimension="1" /> <map src="maps/canals.map" dimension="2" /> and i change to dimension 1 or 2 and nothing, but when i in dimension 0 the objects appear.
  14. well the admin has been install the package and fix whit this: apt-get install lib32z1 but now i get another error: ./mta-server: error while loading shared libraries: libcurl.so.3: cannot open shared object file: No such file or directory and the http://packages.debian.org/search?keywords=libcurl3 are alrredy install but send the same error.
  15. hi well i see the map editor and meta.xml settings and dont see a function for set the elements in another dimension how i can make it? im currently creating a freeroam server i wanna put a lot of objects but at the same time dont affect al the player, only their wants. so some function for this? bye
  16. the admin alredy install the libs and i get the same error any other solution? the admin say samp have the same problem but when install the library for 32 bit its work but the library has say mta dont have are only for 64 bit and maybe the 32bit fix the problem if anyone have its plz make me know. bye
  17. hi, i gonna make a tournament for mta and i think the freecam of map editor is perfect but y tried tu call this and i get this error. [11:02:25] ERROR: call: failed to call 'freecam:setFreecamEnabled' function spect ( player, commandName, posX, posY, posZ) setTimer( call, 900, 1, getResourceFromName("freecam"), "setFreecamEnabled",player) end addCommandHandler ("spec", spect ) the script is server side. what can be do? bye and sorry for my english
  18. hi well in want to run but i get library errors. ./mta-server: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory what can be do for fix that error? or there a special Server Files for 64bit? bye and sorry for my english.
  19. sorry for dont post it becouse are comented. addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), onResourceStart ) EDIT: Thanks 50p i fix it local ped = createPed ( v[5], v[1], v[2], v[3] )
  20. defendPedPos = { {2259.703125, 2257.517578125, 10.8203125, 107.84619140625,137}, --spot11 {2257.4775390625, 2253.1962890625, 10.8203125, 107.84619140625,134}, -- spot12 {2243.3662109375, 2252.1337890625, 10.8203125, 287.84893798828,200}, -- spot13 {2238.8154296875, 2261.0615234375, 10.8203125, 347.45617675781,213}, -- spot14 {2249.0517578125, 2271.3203125, 10.8203125, 67.569702148438,230}, -- spot15 {2371.046875, 1981.0537109375, 10.8203125, 165.81640625,238}, -- spot21 {2370.11328125, 1979.275390625, 10.8203125, 89.987640380859,237}, -- spot22 {2366.5205078125, 1980.3154296875, 10.8203125, 114.1139831543,243}, -- spot23 {2364.9931640625, 1983.5986328125, 10.828125, 98.760345458984,241}, -- spot24 {2367.0859375, 1985.16015625, 10.828125, 48.315856933594,242}, -- spot 25 {2516.7919921875, 2809.396484375, 10.8203125, 163.64660644531,247}, -- spot31 {2532.6630859375, 2810.353515625, 10.8203125, 166.12957763672,248}, -- spot32 {2503.6767578125, 2777.73046875, 10.8203125, 163.93225097656,254}, -- spot33 {2515.3583984375, 2822.62890625, 10.8203125, 184.30120849609,247}, -- spot34 {2525.0732421875, 2831.578125, 10.8203125, 179.91760253906,254} -- spot35 } function onResourceStart() for k, v in ipairs( defendPedPos ) do local ped = createPed ( v[4], v[1], v[2], v[3] ) setTimer( setElementID,3000,1, ped, "defendPed" ) setTimer( createBlipAttachedTo, 1000, 1, ped, 1) if k <= 5 then setTimer( giveWeapon, 1000, 1, ped, 22, 99999, true ) setTimer( setPedWeaponSlot, 4000, 1, ped, 2) elseif k > 5 and k <= 10 then setTimer( giveWeapon, 1000, 1, ped, 28, 99999, true ) setTimer( setPedWeaponSlot, 3000, 1, ped, 4) elseif k > 10 then setTimer( giveWeapon, 1000, 1, ped, 27, 99999, false ) setTimer( setPedWeaponSlot, 3000, 1, ped, 3) end end end i tried with much timers and dont work, i dont get any error or warning what can be do?
  21. any error or warning, the function work great but the numbers dont take effect.
  22. hi i create a function for jump with H key and work but i had a problem with the SetElementVeloctiy. me = getLocalPlayer(); function jump2(player) if isPedOnGround ( me ) then local velx, vely, velz = getElementVelocity( me ) setElementVelocity( me, velx, vely, velz+0.1 ) else outputChatBox ( "you Can't jump in the air!") end end the problem is everytime jump the same heigh i tried with 0.1 0.001 161 1.2 etc... and jump the same everytime. bye and sorry for my english