Jump to content

VParker

Members
  • Posts

    10
  • Joined

  • Last visited

About VParker

  • Birthday 30/04/2000

Details

  • Location
    Hungary
  • Occupation
    Maffioso
  • Interests
    Scripting

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

VParker's Achievements

Member

Member (5/54)

0

Reputation

  1. So my problem is that it shows this error: Script Error: try\try.lua:6: ')' expected near "tried" when i launch my try resource.. Can anybody help me what to do? Here's the script: function try(plr) local chance = math.random(0,1) if chance == 1 then local playerName = getPlayerName local actiontext = string.sub (text,3) outputChatBox ( " .. getPlayerName .. " "tried" " .. actionText .. " "and it worked!" , root, 0, 255, 0, true ) else local playerName = getPlayerName local actiontext = string.sub (text,3) outputChatBox ( " .. getPlayerName .. " "tried" " .. actionText .. " "and it didnt work!" , root, 255, 0, 0, true ) end end
  2. I Love you man. Thanks. Its working just fine. I'll send a PM to you.
  3. Your's worked koragg,but i want to use my own /me script,and i cant use it if your script is active.
  4. Well. I have freaking tried everything. I have added the script of SARSRPG after removing the restriction in ACL. No luck,didnt work. But if i disabled it in ACL i couldn't use my own /me command. So we are kinda back at the beginning. And yes,i cant use anything else for /me,because that not how everybody's used to it. Maybe i should try reinstalling my server? Because now im all out of ideas.
  5. Hmm. Good idea,im going to try that now,but if i make a resource where the command is /me,will i be able to use that?
  6. Well,you are right about the learning part,but its easier to learn from someone then learn from yourself. ^^" But,it's still not working,maybe i misunderstood you. welp. I'll provide the edited script,because maybe im just stupid. addEventHandler ( "onPlayerChat", root, function( message,messageType ) if messageType == 1 then cancelEvent() end end)
  7. Not really helpful if i dont even know what lines should i delete. Instead of wasting my and your time,just maybe,tell which lines to delete? or where to add text to my script. I am not an experienced scripter,sorry.
  8. So,can you like write down the fixed script? Because i dont really know where to put what you said..
  9. So,i want to remove the command /me from my server,but the scripts i've seen on the internet,and the one i done myself didn't work,so i'm asking for your help. This is the script that is not working: addEventHandler ( "onPlayerChat", root, function(cmd) if cmd = "me" then cancelEvent () end end) What did i do wrong? There is a pink /me command in the vanilla MTA server,that's what i am looking forward to disable for roleplay. (I want to make my own /me command)
×
×
  • Create New...