Jump to content

John Smith

Members
  • Posts

    656
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by John Smith

  1. yeah its already drawn and its showing name totally fine im just trying to show the thing i wanna make but idk how if player doesnt have any hex color codes then his name looks like this Mike - in white color but if he has 2 or more colors on his nick its suppost to be like Mike but on my nametag system it still shows Mike in white color instead of those above 2 colors actually in my server the player can have infinite number of colors on his name but in here showing just 2 ones as example
  2. its players nick with /pnick instead of /nick
  3. lol i know how to use html color codes,thats not the problem the problem is here in example dxDrawText( string.gsub(getElementData(v,"pnick"), "#%x%x%x%x%x%x", ""), x, y, x, y, tocolor(rr, gg, bb), scale + ( 15 - dist ) * 0.02, myFont ) -- using gsub thing to remove e.g #FF0000 from nametag text lets say theres player Mike and that all regular players with no team have white nametag color so it will draw text Mike in White color however if mike decides to have two colors like #00ff00Mi#0000ffke then on chat and scoreboard he will have green-blue nick but on my nametag system he will still have default white Mike text and i want that if he has html color codes in name that it updates so that he also has two colors on my nametag system i hope you understand what i meant now
  4. hello i got one question i have my own nametags and i want that if a player has nick like with two colors that those 2 colors get drawn in nametag but theres just one color and that color is random one which freeroam decides i seen in scoreboard resource that there is used getColorFromString to draw multiple colors but i didnt understand how to put it in my script does anyone know how should the line look to get all colors in nametag and draw it?
  5. protected option is for mtaserver.conf file and if protected mode is 1 then the resource can't be stopped/restarted
  6. John Smith

    SQLbans

    add resource to admin group in acl
  7. yeah but it's not that bad tho it means that they went to fix the ftp problem edit:fixed now it works
  8. you can't get support for leaked scripts in here.
  9. as you are often making new maps, why not making one big topic and post map updates in there?imo would be better than making lots of topics in the forum
  10. John Smith

    Help

    umm well not sure how you could attach these functions to other player but perhaps bone position could do the trick getPedBonePosition -- not sure dxDrawRectangle -- make it around their character dxDrawText -- for the player name addCommandHandler -- for wallhack command
  11. I went offline, you see, computer or sanehosting is not my life. I would never block anyone from skype, if guy annoys me, i will delete him, blocking is for gays. Little notification to everybody: We are experiencing problems with TCAdmin like someones have noticed so it is pretty normal that starting and stopping can be bit slow and server status is unknown for littlewhile. Waiting support from TCA... And now, I can´t access the FTP server... Very Well Sane! same. problem. i already made a ticket about it, i suggest you making one too so they can notice it quicker(hopefully)
  12. i dont know how but i must have missed the "extract the zip" part in your post,sorry. nice job with this thing btw
  13. Give more details please. i installed sublime text 3 and when i went to appdata folder etc there wasnt 50p folder so i made one with name just like u said in tutorial and extracted zip in that folder but under syntax theres no choice of mta lua
  14. function preventTrololoPlayer() local bilal = getPlayerFromName("Bilal135") if bilal then setPlayerMuted(bilal,true) end end addCommandHandler("bmute",preventTrololoPlayer) /bmute /bmute /bmute /bmute /bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute/bmute /bmute /bmute /bmute
  15. do the thing what Grafu said i believe you could just check the server.log file in logs folder, all the codes which were run should be in there so if someone has used the runcode to create explosions, you will see it in the log and other possibility is that just one out of 100 of your maps is 'trolling' you by making explosions for every single map, so if first it wasnt first possibility, then its probably this one
  16. engineLoadTXD engineImportTXD engineReplaceModel
  17. check all custom scripts/resources you have and search for createExplosion blowVehicle
  18. i think that gta sa bug occurs when u have 2 objects close to each other on which you can climb on and when u jump u actually start climbing on both of them and your height coordinate(z) gets bugged like if you were in air and falling down and you die due to fall damage
  19. okay it worked now ,everything what i wanted thanks
×
×
  • Create New...