Jump to content

karlis

Members
  • Posts

    1,314
  • Joined

  • Last visited

Everything posted by karlis

  1. all what u can do serverside do there(unless if u need send shitload of data), all u cant do clientside
  2. sometimes it need soem tiem to work, try this function replaceTXD() txd = engineLoadTXD("vehshade.txd") engineImportTXD(txd, 8388) end addEventHandler ( "onClientResourceStart", getResourceRootElement(),function() setTimer(replaceTXD,5000,1)end)
  3. ir, but i think thats not alowed to talk in other langs here
  4. i couldnt find any server w/ur maps, my own has got too bad internet for it, do you ahve soem ip of server that using ur maps?u should make ur own server with ur own maps only
  5. yes i am, and why arent u using mta1.0 editor?gates are posible tru scripting some examples here: https://wiki.multitheftauto.com/wiki/Scr ... the_Keypad
  6. mta race is outdated and almsot dead, switch to mta 1.0 to make even simplest scripts
  7. just open script that attached to map ps:samp got crappy filterscript for custom objs, but it need to be installed in client itself imo
  8. heres simple clientside version: --clientside pinglimit=1000 function isdownloading() if isTransferBoxActive() then setTimer(isdownloading,3000,1) else addpingkicker() end end function addpingkicker() if not pingtimer then pingtimer=setTimer(function() newping=getPlayerPing(getLocalPlayer()) if newping>=pinglimit then triggerServerEvent("kickpinger",getRootElement(),newping,pinglimit) end end,1000,0) end end addEventHandler("onClientPlayerSpawn",getRootElement(),isdownloading) --serverside function kickpinger(newping,pinglimit) kickPlayer(client,"your ping was higher than limit("..pinglimit..")!") outputChatBox("\'\'"..getPlayerName(client).."#64ff00\'\' has been kicked for too high ping("..newping..") || limit is "..pinglimit.."!",getRootElement(),100,255,0,true) end addEvent("kickpinger",true) addEventHandler("kickpinger",getRootElement(),kickpinger) please say if i forgot smthing
  9. i know, but i mean that if this will be in future versions, then no ned for suggestion anymore.
  10. karlis

    Problem

    replace meta with: <meta> <info type="map" gamemodes="race" name="[DM]Assassins Warphole" /> <map src="race-[DM]Assassins-Warphole.map" /> <settings> <setting name="#respawn" value="none" /> </settings> </meta>
  11. i dont get why u cant put ped in vehicle, make him invisible, and on vehicle try-to enter put his ass far far away?
  12. i guess all audio problem will be solved with this: https://wiki.multitheftauto.com/wiki/PreloadMissionAudio and i think there will be radio sounds too since theres 30000 sounds posible and in sp is some stacionary foot radio sounds too
  13. he means same, use onClientChatMessage, dxDrawRecentange, dxDrawText and some gui tab fucntions, or alternativley just make new text display
  14. most profesional questions i saw in this section so far, tought have no ansvers on any, exept u could try find "maximap" and "maximap_examples" resources for some map engine changing examples
  15. lol its so wrong! first of all use [/code], and heres how it should look like: --ClientSide! addEventHandler("onClientPlayerWasted",getRootElement(),function() x,y,z = getElementPosition(getLocalPlayer()) fxAddSparks ( x, y, z, 4, 1, 0, 0, 1, false, 5, 3 ) end) sory, but according what i saw till scripting the simplest things you need learn much much much more [code=lua]your script
  16. lol just use bindKey("M","down",function() showCursor( not isCursorShowing() ) end) for showing/hiding cursor
  17. well anyway gtasa audio is 3gb big and would be very eficent to use it w/o extracting
  18. try <right name="function.Superman" access="true" /> , note the caps
  19. radios audio files takes about 1.5gb of data, would be hilarius to put it at some resource.
  20. karlis

    race bug

    hi, im sory for so much scripting questions, but i think i could recive help for this one: when i start race resource these coming up: [2010-03-07 18:05:56] WARNING: freeroam\fr_server.lua:488: Bad 'element' pointer @ 'destroyElement'(1) [2010-03-07 18:05:56] WARNING: race\util_server.lua:420: Bad 'element' pointer @ 'getElementType'(1) [2010-03-07 18:05:56] ERROR: race\race_server.lua:855: attempt to index global 'g_CurrentRaceMode' (a nil value) [2010-03-07 18:05:57] ERROR: race\racemap.lua:44: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-findthecock [2010-03-07 18:05:57] WARNING: race\racemap.lua:46: Error while loading race-findthecock: no meta.xml [2010-03-07 18:06:08] WARNING: freeroam\fr_server.lua:488: Bad 'element' pointer @ 'destroyElement'(1) [2010-03-07 18:07:54] WARNING: freeroam\fr_server.lua:488: Bad 'element' pointer @ 'destroyElement'(1) [2010-03-07 18:13:34] WARNING: playerblips\playerblips.lua:66: Bad 'element' pointer @ 'getElementType'(1) [2010-03-07 18:13:42] ERROR: race\racemap.lua:44: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-sc.motocross [2010-03-07 18:13:42] WARNING: race\racemap.lua:46: Error while loading race-sc.motocross: no meta.xml [2010-03-07 18:13:48] ERROR: race\racevoting_server.lua:525: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-farewell [2010-03-07 18:13:48] ERROR: race\racevoting_server.lua:525: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-gofastftw [2010-03-07 18:13:48] ERROR: race\racevoting_server.lua:525: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-grandprix [2010-03-07 18:13:48] ERROR: race\racevoting_server.lua:525: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-h2so4-imaplayer [2010-03-07 18:13:49] ERROR: race\racevoting_server.lua:525: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-highnoon [2010-03-07 18:13:49] ERROR: race\racevoting_server.lua:525: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-gofaster [2010-03-07 18:13:49] ERROR: race\racevoting_server.lua:525: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-fallingrocksbynikko [2010-03-07 18:13:50] ERROR: race\racevoting_server.lua:525: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-havefun5 [2010-03-07 18:13:50] ERROR: race\racevoting_server.lua:525: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access race-freeroam [2010-03-07 18:13:50] ERROR: race\racevoting_server.lua:525: xmlLoadFile failed; ModifyOtherObjects in ACL denied resource race to access sandking ...inf loop, and adding race to admin acl didnt help
  21. karlis

    weird acl bug

    no, if i demote them they got status back in seconds runcode wasnt blocked in acl(just done it), but those ppl was noobs( at least in scripting ) and i dont think they know how to proper use runcode edit: found this strange text in log, and time is average same that i tryed to demote those players: [2010-03-07 18:07:34] ACL: admin: ACL 'Admin' removed from group 'Admin' watch this, revoke 2x w/o aplying back: [2010-03-07 16:31:38] ADMIN: karlis has revoked admin privilegies from [FIN]#00bfffPalzone [2010-03-07 16:31:41] LOGIN: (Everyone) dogiSpeakers successfully logged in as 'dogiSpeakers' (IP: [censored] Serial: [censored]) [2010-03-07 16:31:47] ACL: admin: Object 'user.dogiSpeakers' added to group 'Admin' [2010-03-07 16:31:47] ADMIN: karlis has given admin privilegies to dogiSpeakers [2010-03-07 16:31:51] ADMIN: karlis has revoked admin privilegies from [FIN]#00bfffPalzone [2010-03-07 16:32:27] QUIT: [fin]tomppa left the game [Quit] [2010-03-07 16:32:33] ADMIN: karlis has banned [FIN]#00bfffPalzone () [2010-03-07 16:32:33] BAN: Serial ban was added by (null)
  22. karlis

    weird acl bug

    hi, i have veird acl bug that some pepole who arent admins constantly geting his admin status.some ideas? might its some hole in logingui?
  23. toggleCameraFixedModeEx() and setCameraPosition(x, y, z+0.7) is deprecated, use setCameraMatrix() instead
×
×
  • Create New...