-
Posts
1,134 -
Joined
-
Last visited
-
Days Won
37
Everything posted by NeXuS™
-
Use CTRL+F and search for tocolor or RGB.
-
Yep, awesome. Do you need further help?
-
Then create your own scoreboard. As I quoted Dutchman, noone is willing to help a guy who is unwilling to learn. If you are creating a resource, and you stuck somewhere, you don't know how to continue, you can always ask, and we usually answer in an hour, or even after 15 minutes, depends on when you post. First, we'll give you instruction with some functions and orders, if you don't know how to start, we'll start the script for you, but we won't write the whole resource.
-
Just create a backup, and try to do it. If you are stuck somewhere or you get errors, ask here.
-
Using a forcycle, where you cycle through all of the text with it's x, y position and it's width, height.
-
I'll give you some functions, if you don't know how to do it, just reply. First, you'll have to use getCursorPosition. If you have the cursor's position, you have to use some math, to calculate if that position is between the text's pos and the text's pos + width. If it's, you can just output the current text in your forcycle.
-
I don't think onPlayerLogout gets called when onPlayerQuit happens. If you use onPlayerLogout and use the function which is wrote above, it'll always be the "guest" user, because the logout has been already done. function playerAccountSetData(account, dataname, amount) account:setData(dataname, amount) end addEventHandler("onPlayerLogout", getRootElement(), function(oldAcc) playerAccountSetData(oldAcc, "money", getPlayerMoney(source)) end) Try this.
-
local skinTable = { --[SKINID] = EXCEPTION [301] = 1 } addEventHandler("onElementModelChange", getRootElement(), function(oldModel) local newModel = getElementModel(source) if skinTable[newModel] then if getElementData(source, "acc.accID") ~= skinTable[newModel] then setElementModel(source, oldModel) outputChatBox("That model is prohibited to all users except one.", source) end end end) Try this one out.
-
When are you trying to use this function?
-
Try debugging. function playerAccountSetData(player, dataname, amount) outputChatBox(player:getAccount():getName()) player:getAccount():setData(dataname, amount) end
-
Then you should try to fix it yourself, we won't really help you if you don't try fixing it yourself. If you are stuck after you tried it multiple times, and you don't know why it's not working, we'll help ya as we can.
-
Do you wanna create a script, which block skins for everyone except some users?
-
Next time use the Slothbot's WIKI Page, it'll help a lot. addEvent("onBotWasted", true) addEventHandler("onBotWasted", root, function(killer) if getElementModel(source) == 180 or getElementModel(source) == 181 then addPlayerBossKills(killer) end end) Try this.
-
Is this your script?
-
Hospital = { {1177.26, -1324.92, 14.06}, {2029.25, -1419.17, 16.99}, {1607.06, 1825.09, 10.82}, {-320.21, 1055.96, 20, -302.87}, {-2644.37, 633.05, 14.45}, {-2201.14, -2292.66, 30.63}, {-1514.47, 2527.25, 55.74} } for i, k in pairs(Hospital) do HospitalBlips = createBlip(k[1], k[2], k[3], 22) setBlipVisibleDistance(HospitalBlips,200) end Try this.
-
Ofcourse it didn't work, because you are not even using the "player" variable at all. What does the GAC table contain?
-
@MrTasty, I dont think it matters btw. If you are using function printManagment() triggerServerEvent("groupSystem.print", root) end this code, there won't be a "player" arg passed never. What is the "GAC" table?
-
@StormFighter, nem, ez nem kötekedés. A régi posztok bumpolása szabályzat szerint is tiltott.
-
Whats happens with forum??
NeXuS™ replied to UserToDelete's topic in Site/Forum/Discord/Mantis/Wiki related
Same for me, if this is an intended feature, this should be removed. -
And when is the "prinManagment" function called?
-
Try this. blips[thePlayer] = createBlipAttachedTo(markers[thePlayer], 58, nil, nil, nil, nil, nil, nil, nil, thePlayer)
-
Did you try to set the ped an animation whenever he is not aiming with the gun? Are you sure it's possible to change the "holding style" of a weapon?
- 12 replies
-
- weapon flags
- weapon handling
-
(and 1 more)
Tagged with:
-
You should try to fix it, on your OWN and if you are stuck somewhere, we'll help ya. We won't make you the whole script if you don't even try. Downloading scripts and asking the community to edit it for you is not called scripting at all.