x96 Posted October 25, 2014 Posted October 25, 2014 Koi muje code de ga jis se meu command /beefcake pe mere muscles 1000 ho jain aur chat meu likha ai ''Your Muscle Stats Are Now Maximum!", mein noob houn scripting meu, please koi help kare.
Bilal135 Posted October 25, 2014 Posted October 25, 2014 (edited) Method One: script.lua function setMuscle(pk) setPedStat(pk, 23, 1000) outputChatBox("Your Muscle Stats Are Now Maximum", pk, 0, 255, 0) end addCommandHandler("beefcake", setMuscle) Method Two: addCommandHandler("beefcake", function(pk) setPedStat(pk, 23, 1000) outputChatBox("Your Muscle Stats Are Now Maximum", pk, 0, 255, 0) end ) meta.xml <meta> <info author="Bilal" type="script" name="Muscles Max" /> <script src="script.lua" /> </meta> Edited October 25, 2014 by Guest
Bilal135 Posted October 25, 2014 Posted October 25, 2014 method 2 sachi me chal raha hein? o_O Haan. Agar nahi chalti, to player element ko define kar ke pakka chale gi. function(pk)
Saml1er Posted October 25, 2014 Posted October 25, 2014 method 2 sachi me chal raha hein? o_O Haan ji. local foo = function () return end setTimer ( foo,1000,1) --same setTimer ( function () return end, 1000,1)
Anubhav Posted October 25, 2014 Posted October 25, 2014 ffs, you din't get me at all He forgot to define pk.
Saml1er Posted October 25, 2014 Posted October 25, 2014 ffs, you din't get me at allHe forgot to define pk. Abhi pata chala. Us ne apna post edit kiya.
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