itHyperoX
Members-
Posts
522 -
Joined
-
Last visited
-
Days Won
1
Everything posted by itHyperoX
-
duplicated chat messages, Keep showing the cancelablewords
-
@#_iMr.[E]coo the problem is i need that when player is on chat, showing the "Level" etc.. you can get it what i need in Dzsozi reply
-
keep showing the 2 messages. First is the word second is "No"
-
up
-
Yes i need little help about this
-
so, i making a "chat system", but i got some problems. Here is the code cancelableworld = { ":~", ":Oyou", "bitch" } addEventHandler("onPlayerChat", root, function(message, msgTyp) local message = string.lower(message) for i,v in ipairs(cancelableworld) do if (string.find(message, cancelableworld[i])) then outputChatBox("*NO*", source, 255, 0, 0, false) cancelEvent() end end end) --————————————————————————————————————————————————————————— --————————————————————————————————————————————————————————— --< CustomChat >-- addEventHandler ( "onPlayerChat", root, local Level = getElementData(source,"Level" or 0) function(message) outputChatBox("#4C7759[LVL "..Level.."] #FFFFFF"..getPlayerName(source)..": #FFFFFF"..message,getRootElement(),255,2555,255,true) end) The script first half is canceling the worlds, but the second is enable the world. So i cancel the "Weid" worlds, but it keep showing on the chat, becase the second half not ignor that. I want to make, when player typing blocked worlds in chat, thats not showing up, what should i do?
-
I want to create this script with timer, so i mute the player with like : /mute Patrik91 5 Test And when the 5 minutes gone, unmute the player
-
Hi, i want to make a custom mute system, i tried a weeks ago. Can anybody give me "functions" what i need? i want to make like this: mute player for x y minutes with reason like /mute bignick 50 Test
-
you dont know what is the code of your shop system. It smell a leaked script
-
Long time ago i edited this script, i toke off the "settings.stuff-s", if you want, i can give you. Working without any problem.
-
fixed without acc ids, close
-
Hi. I need a little help about how can i get the player "accountID", i want that, when the player register on the server, it save hes accountid. I found something in "internal", it saving the "UserID", how can i get that in script, or what i need to make this? Here is the picture https://postimg.org/image/ghi2titjn/
-
this is a public nametag script if i'm not wrong. You saying all in your post "My script" and all of that scripts is leaked.
-
table = { -- you can add more stuff here :) -- Crosshair {"yourPNGNameHERE", "siteM16"}, {"yourPNGNameHERE", "cameraCrosshair"}, {"yourPNGNameHERE", "siterocket"}, {"yourPNGNameHERE", "SNIPERcrosshair"}, } addEventHandler( "onClientResourceStart", resourceRoot, function() for i = 1, #tabla do local shader, tec = dxCreateShader ( "texreplace.fx" ) local tex = dxCreateTexture ( "files/"..table[i][1]..".png" ) engineApplyShaderToWorldTexture ( shader, table[i][2] ) engineApplyShaderToWorldTexture ( shader, table[i][2].."lod" ) dxSetShaderValue ( shader, "gTexture", tex ) end end) texreplace.fx texture gTexture; technique TexReplace { pass P0 { Texture[0] = gTexture; } } Meta <meta> <script src="sourceC.lua" type="client"></script> <file src="texreplace.fx"></file> <file src="files/cameraCrosshair.png"/> <file src="files/siteM16.png"/> <file src="files/siterocket.png"/> <file src="files/SNIPERcrosshair.png"/> </meta>
-
I think you talking about this? BTW you should use your own administrator system. (setElementData, getElementData, setAccountData, getAccountData) So easily. If you need help pm be.
-
function playerLogin (thePreviousAccount, theCurrentAccount, autoLogin) if not (isGuestAccount (getPlayerAccount (source))) then local accountData = getAccountData (theCurrentAccount, "team") if (accountData) then setPlayerTeam(source,accountData) end end end addEventHandler ("onPlayerLogin", getRootElement(), playerLogin) function onQuit (quitType, reason, responsibleElement,thePreviousAccount) if not (isGuestAccount (getPlayerAccount (source))) then account = getPlayerAccount (source) if (account) then local team = getPlayerTeam(source) local teamname = getTeamName(team) setAccountData (account, "team", teamname) end end end addEventHandler ("onPlayerQuit", getRootElement(), onQuit) addEventHandler("onPlayerLogout", getRootElement(), onQuit)
-
Leaked script from hungary, -> FreedomGaming faction system.
-
local WeaponNames = { [16] = "Nade", [24] = "One Deag" } function getWeaponRealName(weapon) if weapon then if WeaponNames[weapon] then return WeaponNames[weapon] else return getWeaponIDFromName(weaponmodel) end end end 208. line is the "else"
-
same error http://imgur.com/a/oPzad
-
Hi, i making a custom weapon name script, but i got some errors. I tried 4 hours to fix, but i dont know whats wrong. local WeaponNames = { [16] = "Nade", [24] = "One Deag" } function getWeaponRealName(weapon) if weapon then local weaponmodel = getWeaponNameFromID(weapon) if WeaponNames[weaponmodel] then return WeaponNames[weaponmodel] else return getWeaponIDFromName(weaponmodel) end end end Export: outputChatBox("#FFFFFF You picked up the ammo. #6F9F86(".. theAmmo ..") #ffffffCustomWeaponName: #6F9F86("..exports.serverFiles:getWeaponRealName(weaponID)..")",player,255,255,255,true) Pics And i'm gettint this on chat: You picked up the ammo. (20) CustomWeaponName: (0) Thanks any help
-
who using valhalla in 2017. Oh wait, you.