Jump to content

boro

Members
  • Posts

    231
  • Joined

  • Last visited

Everything posted by boro

  1. but i have only basemode gamemode without next script
  2. Hi all i test basemode on my windows server, all work good but map don't start and in log is this problem [2012-11-30 17:40:05] Resources: 54 loaded, 0 failed [2012-11-30 17:40:06] Querying game-monitor.com master server... failed! (302: Moved temporarily) [2012-11-30 17:40:06] Querying backup master server... success! [2012-11-30 17:40:06] Starting resources.................. [2012-11-30 17:40:08] Server started and is ready to accept connections! [2012-11-30 17:40:08] To stop the server, type 'shutdown' or press Ctrl-C [2012-11-30 17:40:08] Type 'help' for a list of commands. [2012-11-30 17:40:08] Starting arena_20 [2012-11-30 17:40:08] Map 'arena_20' started. [2012-11-30 17:40:08] start: Resource 'arena_20' started [2012-11-30 17:40:08] Stopping mapmanager [2012-11-30 17:40:08] Stopping arena_20 [2012-11-30 17:40:21] CONNECT: alf connected (IP: 192.168.0.100 Serial: EFBB55CACA86D66A97E5B9B297E2AE43 Version: 1.3.0-9.04400.0) [2012-11-30 17:40:22] JOIN: alf joined the game (IP: 192.168.0.100) [2012-11-30 17:40:34] LOGIN: (Admin, Everyone) alf successfully logged in as 'alf' (IP: 192.168.0.100 Serial: EFBB55CACA86D66A97E5B9B297E2AE43) [2012-11-30 17:40:42] ERROR: admin\server\admin_servermaps.lua:18: call: Failed, the resource mapmanager isn't running [2012-11-30 17:40:42] ERROR: unzipped\admin\server\admin_servermaps.lua:19: bad argument #1 to 'ipairs' (table expected, got boolean) [2012-11-30 17:40:44] ERROR: admin\server\admin_servermaps.lua:18: call: Failed, the resource mapmanager isn't running [2012-11-30 17:40:44] ERROR: unzipped\admin\server\admin_servermaps.lua:19: bad argument #1 to 'ipairs' (table expected, got boolean) [2012-11-30 17:40:44] ERROR: admin\server\admin_servermaps.lua:18: call: Failed, the resource mapmanager isn't running [2012-11-30 17:40:44] ERROR: unzipped\admin\server\admin_servermaps.lua:19: bad argument #1 to 'ipairs' (table expected, got boolean) [2012-11-30 17:40:44] ERROR: admin\server\admin_servermaps.lua:18: call: Failed, the resource mapmanager isn't running [2012-11-30 17:40:44] ERROR: unzipped\admin\server\admin_servermaps.lua:19: bad argument #1 to 'ipairs' (table expected, got boolean) [2012-11-30 17:40:44] ERROR: admin\server\admin_servermaps.lua:18: call: Failed, the resource mapmanager isn't running [2012-11-30 17:40:44] ERROR: unzipped\admin\server\admin_servermaps.lua:19: bad argument #1 to 'ipairs' (table expected, got boolean)
  3. boro

    Warning

    Nice THX TAPL now is it good but do you know what is this? [2012-12-03 20:33:30] ERROR: ?:0: attempt to concatenate a nil value [2012-12-03 20:33:30] ERROR: ?:0: attempt to concatenate a nil value [2012-12-03 20:34:01] ERROR: ?:0: attempt to concatenate a nil value [2012-12-03 20:34:18] ERROR: ?:0: attempt to concatenate a nil value
  4. boro

    Warning

    Please help what is it ? [2012-12-03 19:12:49] WARNING: admin/server/admin_server.lua:376: Access denied @ 'callRemote' [2012-12-03 19:12:49] WARNING: admin/server/admin_ip2c.lua:15: Access denied @ 'getClientIP' [2012-12-03 19:12:49] WARNING: admin/server/admin_ip2c.lua:19: Bad argument @ 'gettok' [2012-12-03 19:12:49] WARNING: admin/server/admin_ip2c.lua:20: Bad argument @ 'gettok' [2012-12-03 19:12:49] ERROR: admin/server/admin_ip2c.lua:20: attempt to perform arithmetic on a boolean value
  5. "..." type="script" author="..." version="..." description="..." />
  6. and now ? function disableFireForWeapon ( theWeapon ) if ( getElementModel ( theWeapon ) == 38 ) then toggleControl ( source, fire, false ) end end addEventHandler ( "onPlayerWeaponSwitch", getRootElement(), disableFireForWeapon )
  7. Is it good ? function disableFireForWeapon ( theWeapon ) if ( getElementModel ( theWeapon ) == 38 ) then toggleControl ( source, fire, false ) end end addEventHandler ( "onPlayerWeaponSwitch", getRootElement(), disableFireForWeapon )
  8. No i want make stop gun shooting but no remove gun only stop shot
  9. Hi all i try make script for frozen weapon shot but i don't know how to make it , please help I try this, but not work setWeaponFrozen(source, true)
  10. Hi All i tree make new script , when player is in water then slap player health -5% all time when is stil in water, but this not work , please help check my lua code. SERVER: function HotWaterHandler() for i,player in ipairs(getElementsByType("player")) do if player then if isElementInWater(player) then slapPedHealth(player, -5) end end end end addEventHandler("onResourceStart", getRootElement(), function() setTimer(HotWaterHandler, 5000, 0) end)
  11. This is acl but i see only my name and next names no and me add 8 admins btw i have autologin "Moderator"> "Moderator"> "resource.mapcycler"> "resource.mapmanager"> "resource.resourcemanager"> "resource.votemanager"> "SuperModerator"> "Moderator"> "SuperModerator"> "Admin"> "Moderator"> "SuperModerator"> "Admin"> "RPC"> "user.EFBB55CACA86D66A97E5B9B297E2AE43"> "resource.login"> "resource.webadmin"> "Console"> "Moderator"> "SuperModerator"> "Admin"> "RPC"> "user.Console"> "RPC"> "RPC"> "MapEditor"> "Default"> "MapEditor"> "resource.editor_main"> "resource.edf"> "raceACLGroup"> "Default"> "raceACL"> "resource.race">
  12. i use P AND I ADD him to admin group , becouse he isn't is acl so how remove he from admin right ?
  13. ok but in acl.xml is only my serial number and next serial number no, how i search serial number this idiot player and remove it ? I Add admin right from P admin panel so how now remove it please help
  14. please help me, i add new admin , but this admin is idiot, how i removed his admin rights on ftp server ? He baned all players on my server how to remove he ?
  15. boro

    Problem

    Big THX TwiX script is full functional..
  16. boro

    Problem

    still error SCRIPT ERROR: cheat/fistshot.lua:3: 'then' expected near '='
  17. boro

    Problem

    SCRIPT ERROR: cheat/fistshot.lua:5: 'then' expected near '='
  18. boro

    Problem

    Hi all I tried to make script cheat mega hit [iAVENJQ] script works but when I shoot from gun so player is dead to one shot why ? what is bad ? this is lua addEvent "onPlayerFistshot" addEventHandler("onPlayerDamage", getRootElement(), function (attacker, fist, bodypart, loss) if bodypart then local result = triggerEvent("onPlayerFistshot", source, attacker, fist, loss) if result == true then killPlayer(source, attacker, fist, bodypart) end end end )
  19. boro

    Help please

    Hi all,today I tried to make a script to display kills and deaths on-screen player but not run and no error in the log and the script don't work what is wrong? Please advise anyone thx. this is lua addEventHandler ( "onClientRender", root, playerstatus1 ) function playerstatus ( ) if isPedJoin (localPlayer) == false then return end kills = getElementKills (getPedJoin(localPlayer)) deaths = getElementDeaths (getPedJoin(localPlayer)) screenWidth, screenHeight = guiGetScreenSize() windowWidth, windowHeight = 300,170 left = screenWidth/1.15 - windowWidth/9.8 top = screenHeight/1.15 - windowHeight/20 dxDrawText ( "Kills: "..tostring(speed).."Kills", left, top, screenWidth, screenHeight, tocolor ( 200, 200, 200, 255 ), 1.5, "arial" ) dxDrawText ( "Deaths: "..tostring(currenthealth).."Deaths", left, top -25, screenWidth, screenHeight, tocolor ( 200, 200, 200, 255 ), 1.5, "arial" ) end
  20. boro

    error please help

    Big thank TAPL now is it working .Boro
  21. Hi all i have problem i play stealth but map won't start me select team and skin and before is only black screen with chatbox and in log is this error. ERROR: [gamemodes]/[stealth]/stealth/stealthmain_server.lua:69: attempt to compare boolean with number and this is stealthmain_server.lua Line number On/Off | Expand/Contract | Select all 67 addEvent("dojoinTeam1",true ) 68 function joinTeam1( source,theskin ) 69 if (countPlayersInTeam(team2) - countPlayersInTeam(team1) > balanceamount) then 70 outputChatBox("Can't join RED too many players", source, 255, 69, 0) 71 triggerClientEvent(source,"doshowTeamWindow",source) 72 else 73 joinTeam(source, team1) 74 myskin[source] = theskin 75 end 76 end 77 addEventHandler ( "dojoinTeam1", getRootElement(), joinTeam1 ) 78 addEvent("toScore", true) 79 function addToScore(pla, cmd,cmds) 80 setElementData ( source, "FPS", cmd) 81 triggerClientEvent("onClientGamemodeMapStart", source, getMapName () ) 82 end 83 addEventHandler("toScore", getRootElement(), addToScore) 84 addEvent("dojoinTeam2",true ) 85 function joinTeam2( source, theskin ) 86 if (countPlayersInTeam(team1) - countPlayersInTeam(team2) > balanceamount) then 87 outputChatBox("Can't join BLUE too many players", source, 255, 69, 0) 88 triggerClientEvent(source,"doshowTeamWindow",source) 89 else 90 joinTeam(source, team2) 91 myskin[source] = theskin 92 end 93 end this is line 69 if (countPlayersInTeam(team1) - countPlayersInTeam(team2) > balanceamount) then what is bad ? please help thx.boro
  22. boro

    error please help

    no no i know but i must fix this error becouse map don't start and before map start normal
×
×
  • Create New...