Randomnob Posted August 27, 2013 Share Posted August 27, 2013 ihave a skin marker code but ineed someone to make it for "Group" --server local marker = createMarker(2784, 1267.4000244141, 10.60000038147, "cylinder", 2, 0, 0, 0, 170) addEventHandler("onMarkerHit",marker, function(player) if getElementType(player) == "player" then setElementModel(player,299) end end ) ifounded this but not working :@ if ( getElementData(player, "Group" ) ~= "GHOST" ) then my edidit code with output chat --server local marker = createMarker(2784, 1267.4000244141, 10.60000038147, "cylinder", 2, 0, 0, 0, 170) addEventHandler("onMarkerHit",marker, function(player) if getElementType(player) == "player" then if ( getElementData(player, "Group" ) ~= "GHOST" ) then outputChatBox("#FF0000* #FFF000Only For #FF0000 .:[GHOST]:. #FFF000Group ", player, 255, 255, 0, true) else outputChatBox("#FF0000* #FFF000Your Skin Changed .", player, 255, 255, 0, true) setElementModel(player,299) end end ) help :@ iwant the first code with output chat + "group" elementData :@ Link to comment
Randomnob Posted August 27, 2013 Author Share Posted August 27, 2013 You miss 'end'. any end of ends وبتقدر تحاكيني عربي ض1 Link to comment
Randomnob Posted August 27, 2013 Author Share Posted August 27, 2013 Just add an 'end' . not working Link to comment
Castillo Posted August 27, 2013 Share Posted August 27, 2013 --server local marker = createMarker ( 2784, 1267.4000244141, 10.60000038147, "cylinder", 2, 0, 0, 0, 170 ) addEventHandler ( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) then if ( getElementData ( player, "Group" ) ~= "GHOST" ) then outputChatBox ( "#FF0000* #FFF000Only For #FF0000 .:[GHOST]:. #FFF000Group ", player, 255, 255, 0, true ) else outputChatBox ( "#FF0000* #FFF000Your Skin Changed .", player, 255, 255, 0, true ) setElementModel ( player, 299 ) end end end ) Link to comment
Randomnob Posted August 27, 2013 Author Share Posted August 27, 2013 --server local marker = createMarker ( 2784, 1267.4000244141, 10.60000038147, "cylinder", 2, 0, 0, 0, 170 ) addEventHandler ( "onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == "player" ) then if ( getElementData ( player, "Group" ) ~= "GHOST" ) then outputChatBox ( "#FF0000* #FFF000Only For #FF0000 .:[GHOST]:. #FFF000Group ", player, 255, 255, 0, true ) else outputChatBox ( "#FF0000* #FFF000Your Skin Changed .", player, 255, 255, 0, true ) setElementModel ( player, 299 ) end end end ) Thanks Link to comment
TAPL Posted August 28, 2013 Share Posted August 28, 2013 Just add an 'end' . not working You don't even know how to add an 'end, did you ever make the code? i don't think so. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now