Jump to content

#Honda-R

Members
  • Content Count

    82
  • Joined

  • Last visited

Community Reputation

0 Neutral

About #Honda-R

  • Rank
    Transformer

Details

  • Gang
    MAPPING
  1. client LINE NUMBER ON/OFF | EXPAND/CONTRACT | SELECT ALL -- for client side: "onClientMarkerHit" local myMarker = createMarker(-3686, 1600.8000488281, 8.39, 'cylinder', 5, 255, 0, 0, 150) -- create myMarker function fakeBomb(element,d) if d then local x,y,z = getElementPosition(source) -- source = marker createExplosion(x, y, z, 0, true, -1.0, false) end end addEventHandler( "onClientMarkerHit", myMarker, fakeBomb ) Worked Perfect! Thanks.
  2. I'm trying to make an explode onMarkerHit Dont Work. local myMarker = createMarker(-3686, 1600.8000488281, 8.39, 'cylinder', 5, 255, 0, 0, 150) -- create myMarker function fakeBomb(x,y,z,d) if d then --Check the players Dimension if getElementDimension(getLocalPlayer()) == d then --If the players Dimension is the current dimension --Then people on other dimensions cant see this explosion createExplosion(x, y, z, 0, true, -1.0, false) end addEventHandler( "onMarkerHit", myMarker, fakeBomb )
  3. #Honda-R

    Problem

    The race GM that i am using is Default. Anyone knows the problem ??
  4. #Honda-R

    Problem

    Well. it shows color on scoreaboard, but when player chat's i dont change color of nick.
  5. #Honda-R

    Problem

    Hey i am using to change the player nick color this resource https://community.multitheftauto.com/in ... ls&id=3583 in play and freeroam it changes player nick color but in race no, where can be the problem ? it shows color on scoreaboard, but when player chat's i dont change color of nick.
  6. I'l try to make local editBOX = GUIEditor.edit[1] = guiCreateEdit(27, 83, 90, 24, "", false, GUIEditor.window[1]) setPlayerName ( sPlayerElement, taggedName ) local Name = getPlayerName(getLocalPlayer()) setPlayerName ( editBOX, taggedName ) Damn! i tottaly messed up!
  7. GUIEditor = { button = {}, window = {}, edit = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(421, 223, 195, 122, "Nick Color", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.label[1] = guiCreateLabel(23, 39, 183, 25, "Example: #000000 ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiSetProperty(GUIEditor.label[1], "AlwaysOnTop", "True") GUIEditor.edit[1] = guiCreateEdit(27, 83, 90,
  8. #Honda-R

    color

    Thanks for your help.
  9. #Honda-R

    color

    maybe yuo can add smt like this ? onPlayerChat nameTagColor
  10. #Honda-R

    color

    Maybe its bec im using in race ?
  11. #Honda-R

    color

    function nameTagColor ( redBar,greenBar,blueBar, r, g, b ) setPlayerNametagColor ( source, redBar,greenBar,blueBar ) destroyBlipsAttachedTo(source) setTimer ( createBlipAttachedTo, 100, 1, source, 0, 2, redBar, greenBar, blueBar ) end addEvent( "nameTagColorChange", true ) addEventHandler ( "nameTagColorChange", getRootElement(), nameTagColor) function destroyBlipsAttachedTo(player) local attached = getAttachedElements ( player ) if ( attached ) then for k,element in ipairs(attached) do if getElementType ( element ) == "blip" then
  12. #Honda-R

    color

    How to say This script , opens a gui to change nick color then mix with rbg color and press "set" it have to change nick color Lets say i mix color to red , okai i press set. then press "T" and write someting , and my nick white, not red at it should be, but in scoreboard its red.
  13. #Honda-R

    color

    Hey im testing it in race. It only change nick color at scoreboard not on chatbox Look: Client local r, g, b = getPlayerNametagColor (getLocalPlayer()) nameTagColorWindow = guiCreateWindow(328,570,425,240,"Name Color",false) guiSetVisible(nameTagColorWindow,false) nameLabel = guiCreateLabel(175,30,110,17,"" ..getPlayerName(getLocalPlayer()) .. "", false, nameTagColorWindow) redNameLabel = guiCreateLabel(25,49,108,17,"Red",false,nameTagColorWindow) greenNameLabel = guiCreateLabel(22,97,108,17,"Green",false,nameTagColorWindow) blueNameLabel = guiCreateLabel(25,146,108,17,"
  14. #Honda-R

    gui shown

    o ma gad! Thanks very mutch!
×
×
  • Create New...