Jump to content

Spakye

Members
  • Content Count

    35
  • Joined

  • Last visited

Community Reputation

7 Neutral

1 Follower

About Spakye

  • Rank
    Rat

Details

  • Gang
    [UVA]Moderator

Recent Profile Visitors

349 profile views
  1. Hello, i guess use onClientPlayerWeaponFire and check if the player is on fire with isPedOnFire. Cancel event if he is
  2. Spakye

    Markers

    local markersData = { --{x, y, z, interior, dimension}, } function createBlackjackMarkers() for i, m in ipairs(markersData) do local newMarker = createMarker( m[1], m[2], m[3], "cylinder") setElementInterior(newMarker, m[4]) setElementDimension(newMarker, m[5]) -- add your event handler here end Hello, if i understand well i would do something like that
  3. Hello, I didnt use Slothbot in a long time but i believe "waiting" state wont make him peacefull, it will make him wait until he sees someone, if the player isnt in his team then the bot will chase and shoot, if the player is in his team then he will follow him. So in your script the Bot will always shoot you as soon as he sees you ( assuming im right about the waiting state and if you are not in the same team). Maybe try to use setBotAttackEnabled to false when you spawn it.
  4. Hello, did you try to set the velocity of the projectile when creating it ? you can do it in optional arguments of createProjectile()
  5. ok to store it but then what would you do ? Something like keep the nickname simple (in my case spakye), then modify the scoreboard for it to add the clantag before the nickname and do the same thing when people send a message in the chat ? Is it what you had in mind?
  6. This will change the whole nick to a specific color, i wish people to be able to fully customize the clan tag with few colors. I guess a solution is to edit the scoreboard for it to show clantag..nickname and also to modify the chat so when people writte a message it will show clantag..nickname.. ": "..themessage but maybe there is an easier solution. Right now the way it works is they pick a tag limitation such as [ ] or |, a color for this limitation, a tag wich can include color codes, and finally a color for the player name and blip. So it look like this if the limitation i
  7. Hello, im working on a clan system wich let you choose a clan tag that includes color codes. When a player logs in it should change his name to add his clan tag. Though the function setPlayerName only allows 22 characters and color codes makes it longer. This is the string i want to have as my nickname : #344F25TM#0C1109|#23331BSpakye once you remove the color code it should be TM|Spakye with some colors. Is there a way to bypass this limit of 22 characters ?
  8. local class = { --class name, hp, armor, skin, { {weapon id, weapon ammo} } {"Juggernaut", 100, 100, 0,{ {30,200},{24,50}, {34,10} } }, }
  9. Hello, if i understand well you can use setElementRotation() and setTimer() Edit : if you wish a smooth movement you could use moveObject()
  10. Hello, you can store a var like canEnter = true then when the player leaves the gui you turn it to false and start a timer that will turn it to true after 3mins. setTimer(function() canEnter=true end, 180000,1)
  11. I believe you need to check the source manually. like if source == buttonAuth then your function Take a look at onDgsMouseClick event in the wiki edit: nevermind im wrong
  12. nvm problem solved!
  13. Hi guys, i have an issue with my own login panel, whenever i create a new account and then try to login the console says that the password is incorect. The weird thing is that i did this login panel like months ago and everything was working fine. i didnt touch it since and today i have this problem. I did few tests, using some outputchatbox and searching in the internal db. I know for sure that accounts are created and that i dont send an hashed password when registering or login in. I can log in perfectly fine with all the accounts that i made before today. I also have a
  14. Hello, i dont think you need to use getElementType since the source of the event will always be the player that got dammaged. Also use getElementModel() instead of getPedSkin. any error ?
×
×
  • Create New...