Jump to content

golanu21

Members
  • Posts

    650
  • Joined

  • Last visited

Everything posted by golanu21

  1. golanu21

    help

    local x, y, z = getElementPosition (source)
  2. golanu21

    help

    don't work , i type, /addevent 30 100 and give me outputChatBox ("[invalid Syntax]: /addevent [gunid] [ammo]
  3. golanu21

    help

    i type /addevent and his need to give me outputChatBox ("[invalid Syntax]: /addevent [gunid] [ammo]", source, 255, 0, 0 ) but nothing
  4. golanu21

    help

    [14:59:23] SCRIPT ERROR:12: 'end' expected (to close 'if' at line 7) near 'else' [14:59:23] WARNING: 12: 'end' expected (to close 'if' at line 7) near 'else' idk where i need to put end
  5. golanu21

    help

    addEventHandler("onPlayerCommand", root, function (source, cmd, gunid, ammo) if cmd = = "addevent" then local x, y, z = getLocalPlayer (source) local accName = getAccountName( getPlayerAccount(source) ) if gunid and ammo then if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admins" ) ) then eventmarker = createMarker (x, y, z, "cylinder", 5, 0, 0, 0, 0 ) outputChatBox ("Adminul"..accName.."a pornit un event. [/joinevent]", source, 255, 0, 0 ) else outputChatBox ("[invalid Syntax]: /addevent [gunid] [ammo]", source, 255, 0, 0 ) else outputChatBox ("Tre sa fi un admin boule", source, 255, 0, 0 ) else if cmd = = "joinevent" then giveWeapon (source, gunid, ammo) outputChatBox("Ai intrat in event", source, 0, 255, 0 ) setElementPosition ( source, eventmarker ) end end end end end ) [14:49:31] SCRIPT ERROR: 3: 'then' expected near '=' [14:49:31] WARNING: 'then' expected near '=
  6. Eu te-am ajutat.. foi fi aici ptr voi
  7. acelas model am si eu este foarte simplu Service Port : UDP 22003 TCP 22005 UDP 22126 Ip adress: pui ip de la router Status: la toate pui Enabled si la commom service port : nu pui nimic
  8. nu iti facem noi scripturile dar poti folosi addAccount addCommandHandler si la point si money nush la ce te referi, sa apara la scoreboard ?
  9. gate1 = createObject ( 980, x1, y1, z1 ) gate = createObject(980, 551.5, 1659.300488281, 8.8000001907349, 0, 0, 121.99768066406) function gateOpen() moveObject( gate, 2000, 551.59997558594, 165.1999511719, 14.30000190735 ) end addCommandHandler("deschidepoarta", gateOpen) function gateClose() moveObject( gate, 2000, 551.59997558594, 165.1999511719, 14.30000190735 ) end addCommandHandler("inchedepoarta", gateClose)
  10. i make a talking ped system in game SYNTAX When player enter in ped zone SPECIAL THANX : TAPL, Sasuke*, Jaysds1 Download : https://community.multitheftauto.com/index.php?p=resources&s=details&id=6654
  11. golanu21

    help

    finaly,,, thanx very mutch guys
  12. golanu21

    help

    bad argument #1 to 'concat' (table expected, got string) .. it is in server side
  13. golanu21

    help

    I'm not good at table.concat
  14. golanu21

    help

    how i make this, please give me full script
  15. golanu21

    help

    47: bad argument #1 to 'concat' (table expected, got nil)
  16. golanu21

    help

    how i make with table.concat?, i don't know with part of scripting
  17. golanu21

    help

    i tired with createMarker .. and nothing
  18. golanu21

    help

    So, you want a msg for the ped it self right--yes and the msg doesn't change when ever you want to create another one?--when you create another one, you can put same text or another
  19. golanu21

    help

    i want to make this when player or admin create a ped " /createped [modelid] [x] [y] [z] [text]" the text to appear when i hit the colshape
  20. golanu21

    help

    function createped (player, cmd, modelid, x1, y1, z1) local modelid = tonumber(modelid) local text = {} local say = text local x1 = tonumber(x1) local y1 = tonumber(y1) local z1 = tonumber(z1) if modelid and x1 and y1 and z1 and text then ped1 = createPed ( modelid, x1, y1, z1) setPedFrozen ( ped1, true) cool = createColRectangle ( x1, y1, z1, 5, 5 ) else outputChatBox("[invalid Syntax]: /createped [modelid] [x] [y] [z] [text]", player, 255, 0, 0 ) end end addCommandHandler("createped", createped) addEventHandler ("onColShapeHit", root, function (hitPlayer) if isElement(cool) and (source == cool) then if(getElementType(hitPlayer) == "player") then if isElement(text) then outputChatBox ( "Bot say:"..text, player, 255, 0, 0 ) end end end end ) line 3
  21. golanu21

    help

    thx, and sorry for spamming
  22. golanu21

    help

    someone have an ideea?
  23. golanu21

    help

    in debugscript errors not exist, and when i try to create nothing
×
×
  • Create New...