
//_Dragon
Members-
Posts
214 -
Joined
-
Last visited
Everything posted by //_Dragon
-
thanks work but i've a little problem i want getplayercolorname outputChatBox("You Were Given #00FF00$"..tostring(amount).." #006400 From #FF0000"..getPlayerName(player) , targetplayer, 0, 100, 0, true) outputChatBox("You Gave #00FF00$"..tostring(amount).."#006400 To #FF0000"..getPlayerName(targetplayer), player, 0, 100, 0, true)
-
Error : Gmoney\script.lua:5: attempt to call global 'getPlayerFromParticalName' (a nit value)
-
yes nothen happened ,
-
I have problem in this script When some one give to other player money , all players can see in chatbox what he gave [DR]Dragon gave to [DR]Fedex 5555$ & i add something in script for fixe the problem but still when i give money to player , nothen happened
-
I fixe it thanks But i want how i can change column server name & player because fonts it's small and i want make it a little larger How :v ?
-
here too must be edited i think
-
i think here i can make name server & nums players acces in scoreboard
-
Hi guys , i want add name of server & numbre players in this scoreboard !! it's possible ? Pic : http://imgur.com/xMPE4FX Scoreboar ==> https://mega.nz/#!olViCKBa!i41OKi5rLuQa ... CTWo_v8Lo0
-
Nothen fixed ----server ----wtf function music(player, cmd) local name = getPlayerName(player) local r,g,b = getPlayerNametagColor (player) local accountname = getAccountName (getPlayerAccount(player)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Vip" ) ) then outputChatBox ( "" .. name .. ": #046C02 wtf booom", getRootElement(), r, g, b, true ) triggerClientEvent ("wtf", getRootElement()) else outputChatBox ( "this command for vip group", player, 255, 0, 0, true ) return end end addCommandHandler("wtf", music) ----RIP function music(player, cmd) local name = getPlayerName(player) local r,g,b = getPlayerNametagColor (player) local accountname = getAccountName (getPlayerAccount(player)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Vip" ) ) then triggerClientEvent ("RIP", getRootElement()) else outputChatBox ( "this command for vip group", player, 255, 0, 0, true ) return end end addCommandHandler("rip", music) ----client ------wtf function music12( name ) sound = playSound("music/wtf.mp3") setSoundVolume(sound, 50) setSoundMaxDistance( sound, 5000 ) end addEvent( "wtf", true ) addEventHandler( "wtf", getRootElement(), music12 ) function stopMySound() stopSound( sound ) end addCommandHandler ( "wtf", stopMySound ) ------RIP function music12( name ) sound = playSound("music/RIP.mp3") setSoundVolume(sound, 50) setSoundMaxDistance( sound, 5000 ) end addEvent( "RIP", true ) addEventHandler( "RIP", getRootElement(), music12 ) function stopMySound() stopSound( sound ) end addCommandHandler ( "rip", stopMySound )
-
dude is not working | Debugscript : http://imgur.com/iuEuZdn
-
I've problem in stoping soud When player do /fox he will listen music & all player will listen too but when he another music /pokerface the first music will stop & the second music will start but player they listen 2 music in same time i want when player do 2 music , first music stop & second music start , & player too will listen the second music ------pokerface function music12( name ) sound = playSound("music/pokerface.mp3") setSoundVolume(sound, 50) setSoundMaxDistance( sound, 5000 ) end addEvent( "pokerface", true ) addEventHandler( "pokerface", getRootElement(), music12 ) function stopMySound() stopSound( sound ) end addCommandHandler ( "pokerface", stopMySound ) ------fox function music12( name ) sound = playSound("music/fox.mp3") setSoundVolume(sound, 50) setSoundMaxDistance( sound, 5000 ) end addEvent( "fox", true ) addEventHandler( "fox", getRootElement(), music12 ) function stopMySound() stopSound( sound ) end addCommandHandler ( "fox", stopMySound )
-
i've it dude but after adding hex wont work
-
I want add here hex too but doesnt work ? function giveSomeoneMoney(player, cmd, target, amount) if target then if amount then local money = getPlayerMoney(player) local targetplayer = getPlayerFromName(target) local r, g, b = getPlayerNametagColor(player) local hex = string.format("#%.2X%.2X%.2X", r, g, b) amount = tonumber(amount) if targetplayer then if money >= amount and amount >= 250 then givePlayerMoney(targetplayer, amount) takePlayerMoney(player, amount) outputChatBox("..getPlayerName(player).." give "..amount.." to "..getPlayerName(targetplayer), getRootElement(), 0, 165, 0, true)
-
Anyway i fixe it
-
What i can do ? i can change (source)maybe (name) ?
-
Dude script is working only problem is in getplayerName & getNamePlayercolor check this pic for see debugscript : http://imgur.com/hj9mt9O
-
yes i get some bug but i dont know how i can fix the problem I do all possibility
-
Removed Too
-
i dont want make it i just wanna help my friend to fixe it ^^
-
Yeh & i add it in meta.xml , client.lua
-
doesnt work ! text wont change