//_Dragon Posted October 15, 2015 Share Posted October 15, 2015 Hi guys , i need mod AFK system when you are away on keyboard ( not moving ) your skin get alpha 250 / and when you move your keyboard or mouse the skin get back alpha 100 can some one help me ? Link to comment
//_Dragon Posted October 15, 2015 Author Share Posted October 15, 2015 I dont find it any help Link to comment
DarkByte Posted October 17, 2015 Share Posted October 17, 2015 This dumb oussez need only grafuroam scripts. Link to comment
//_Dragon Posted October 18, 2015 Author Share Posted October 18, 2015 Guys , i did not find the great mod i need mod when players is not using keayboard or mouse the skin's alpha will change to 0 & when he come back i mean using keayboard or mouse the skin's alpha will come back to 250 Yous understand guys !? | i hope some one creat this script . Link to comment
TAPL Posted October 18, 2015 Share Posted October 18, 2015 You can either learn and make it yourself or pay someone to make it for you as you want it. You can also wait for someone to post a ready free code in this topic which may not happen anyway. Link to comment
DarkByte Posted October 19, 2015 Share Posted October 19, 2015 Cant u guys understand he need grafuroam afk system that turns u auto afk if not moving 30 secs Link to comment
SpecT Posted October 19, 2015 Share Posted October 19, 2015 Cant u guys understand he need grafuroam afk system that turns u auto afk if not moving 30 secs The guys are understanding. But begging for ready code is not the right thing to do here! And please read carefully the other replies before you reply! And now on the topic: Find a normal afk script. Open it and replace the function where it kills/kicks the player with setElementAlpha(player,250) Is it that hard ? I don't think so. Link to comment
-Doc- Posted October 19, 2015 Share Posted October 19, 2015 OMG. Really guys? Better dont trust this guy. He is using all of you he cant even make an: outputChatBox Link to comment
SpecT Posted October 19, 2015 Share Posted October 19, 2015 OMG. Really guys? Better dont trust this guy. He is using all of you he cant even make an: outputChatBox Well ... you are saying this like we know the guy who made the topic. He asked for "help" but actually he wants ready code so I suggest this topic to be closed. If you know nothing about lua and you are asking for someone to give you the script in silver platter you are in the totally wrong place. So Droam|Oussez you better learn scripting or at least try to write some code and we will help you out! Link to comment
//_Dragon Posted October 31, 2015 Author Share Posted October 31, 2015 Ty men toni012899 Blue idk why u're follow me allways ? i wont talk to you or insult you but .... Link to comment
Walid Posted October 31, 2015 Share Posted October 31, 2015 All what you need is: setTimer() getElementsByType() getPlayerIdleTime() setElementAlpha() Link to comment
sanyisasha Posted November 1, 2015 Share Posted November 1, 2015 If the player in AFK, change her dimension. Then when he is back, make it back to the normal dimension. What you need: setElementDimension -- To invisibility effect. setTimer -- create it if the player in "stand" movestate, and kill if the movestate is changed. getPedMoveState -- if is it "stand", then he is maybe AFK. Link to comment
sanyisasha Posted November 1, 2015 Share Posted November 1, 2015 If the player in AFK, change her dimension.Then when he is back, make it back to the normal dimension. What you need: setElementDimension -- To invisibility effect. setTimer -- create it if the player in "stand" movestate, and kill if the movestate is changed. getPedMoveState -- if is it "stand", then he is maybe AFK. Edit: Replace the movestate to the getPlayerIdleTime. Link to comment
//_Dragon Posted November 2, 2015 Author Share Posted November 2, 2015 +Saniya i need a example i'm not pro scripter :v just 34% Link to comment
Crossy101 Posted November 2, 2015 Share Posted November 2, 2015 An Example is pretty much the script though, just look around the MTA Functions and you will find some examples on how to use those functions within the AFK Script. Link to comment
Crossy101 Posted November 2, 2015 Share Posted November 2, 2015 Well everybody start's somewhere right! Link to comment
SpecT Posted November 2, 2015 Share Posted November 2, 2015 Well everybody start's somewhere right! Ye, but you don't start from anywhere. Why don't you write some code and we will help you to make it working? Now stop spamming and good luck! Link to comment
//_Dragon Posted November 8, 2015 Author Share Posted November 8, 2015 =====================================toni012899=========================== Dude i creat the mod but steal have problem anyway i send u the mod in pm i hope u fixe it Link to comment
DarkByte Posted November 8, 2015 Share Posted November 8, 2015 Oussez dont even made a fuking script. If someone helps him and then he dont care about that person. He sais that he made scripts but they are stolen from forums. He want to clone grafuroam only not to make something original. I had some deal with this guy and i know about im talking. Link to comment
SpecT Posted November 8, 2015 Share Posted November 8, 2015 =====================================toni012899===========================Dude i creat the mod but steal have problem anyway i send u the mod in pm i hope u fixe it If you were the author of the code you sent me you could fix it. There is not much to do on it, it's not even hard ... but of course you need "help". I suggest you to get paid scripter or at least stop spamming. Link to comment
'~DaLesTe^' Posted November 11, 2015 Share Posted November 11, 2015 Here's a simple AFK System function PosTime(source) local pos1 = getElementPosition(source) if (pos == pos1) then outputChatBox ( "You are AFK use / back to back", source, 255, 255, 0) outputChatBox ( "#ff0000[iNFO] #ffffffThe Player " ..getPlayerName(source).. "#ffffff is now AFK #ff0000!",getRootElement(), 0,153,255, true) setElementFrozen (source, true) setElementDimension (source, -- s8) --> setElementData(source, "", 1) fadeCamera(false) else outputChatBox ( "Moving \"{SMILIES_PATH}/icon_sad.gif\" alt=\"\" title=\"Sad\" />", source, 255, 0, 0) end end function afkGo(source) pos = getElementPosition(source) outputChatBox ( "Wait 5 seconds without moving", source, 0, 255, 0) setTimer(PosTime,5000,1,source) end addCommandHandler('afk', afkGo) function afkExit(source) outputChatBox ( "Você está de volta!", source, 0, 255, 0) outputChatBox ( "#FF0000[iNFO] #FFFFFFThe Player " ..getPlayerName(source).. " #ffffff as exit on AFK #FF0000!", getRootElement(), 0,153,255, true) setElementFrozen (source, false) setElementDimension (source,0) setElementData (source,0) fadeCamera(true) end addCommandHandler('back', afkExit) function awayList(source) Link to comment
'~DaLesTe^' Posted November 11, 2015 Share Posted November 11, 2015 Here's a simple AFK System function PosTime(source) local pos1 = getElementPosition(source) if (pos == pos1) then outputChatBox ( "You are AFK use / back to back", source, 255, 255, 0) outputChatBox ( "#ff0000[iNFO] #ffffffThe Player " ..getPlayerName(source).. "#ffffff is now AFK #ff0000!",getRootElement(), 0,153,255, true) setElementFrozen (source, true) setElementDimension (source, 8 ) setElementData(source, "", 1) fadeCamera(false) else else outputChatBox ( "You are Moving!", source, 255, 0, 0) end end function afkGo(source) pos = getElementPosition(source) outputChatBox ( "Wait 5 seconds without moving", source, 0, 255, 0) setTimer(PosTime,5000,1,source) end addCommandHandler('afk', afkGo) function afkExit(source) outputChatBox ( "Você está de volta!", source, 0, 255, 0) outputChatBox ( "#FF0000[iNFO] #FFFFFFThe Player " ..getPlayerName(source).. " #ffffff as exit on AFK #FF0000!", getRootElement(), 0,153,255, true) setElementFrozen (source, false) setElementDimension (source,0) setElementData (source,0) fadeCamera(true) end addCommandHandler('back', afkExit) function awayList(source) 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