Stranger
Members-
Posts
710 -
Joined
-
Last visited
Everything posted by Stranger
-
hello someone copying my server's name my server ip: 164.132.25.17:22023 fake server ip: 89.234.183.36:22011 My server picture: Fake server picture: hope you deal with it
-
thanks karim ... i figured out another way ... that i added removeEventHandler in the event 'onClientFileDownloadComplete' cause as i can see that event will not stop even if the file has been already downloaded so .. the only one who stops if the file has downloaded is .. downloadFile .. so i put it in that event so if the file has been completed ... the dx should be removed .. so yea .. thank you all ..
-
that's good .. but the problem is .. when he quits and join again .. that dx will show to him again .. so this is the problem .. i don't want it to show up any more .. after the file has been already downloaded ..
-
any help please ..
-
i know that ... but you didn't understand me .. here is the code: addEventHandler ("onClientResourceStart", resourceRoot, function () setTimer (function () for _,v in ipairs (modelTable) do downloadFile (v[1]) Downloading [v[1]] = true if not isEventAdded then addEventHandler ("onClientRender", root, download) end end end, 1000, 1) end ) you got what i mean now ? i mean like when the resource start the dx .. shows up everytime even if the files are already downloaded .. i want it to be like if the file downloaded ... the dx will not show .. but here is the problem ... when i start the resource it load up the models .. successfully but there is this problem .. that the dx shows up .. so i hope you got me now ..
-
no client files
-
hello guys .. is there any possible way to know if the file has been already downloaded or not ? cause i want to check so that the file not to be downloaded any more .. so if this possible can someone tell me how ? .. thanks
-
hello everyone, i have this problem which is the first time it happened to me when i use this code: local timers = { } local created = false addCommandHandler ("cre", function () if created == true then return end local x,y,z = getElementPosition (localPlayer) local obj = createObject (3095, x,y,z-1) created = true local timer = setTimer (function () moveObject (obj, 2000, x,y,z+10) end, 1000, 5) table.insert (timers, timer) end ) addEventHandler ("onClientPlayerWasted", localPlayer, function () if created == true then for _,v in ipairs (timers) do if isTimer (v) then killTimer (v) table.remove (timers, v) end end end end ) this problem shows up to me: bad argument #2 to 'remove' (number expected, got userdata) i don't know what is the problem
-
i want it for a specific markers not for every marker .. only what i create .. and i don't want to use 'resourceRoot'
-
i meant like there is an event 'onMarkerHit' in the script, and i want it to work with every marker i create by this command 'marker' like i put an event in the server side ok ? i want it like when i create new marker while i'm in the server this marker will work with the event 'onMarkerHit' that i put in the script before now clear ?
-
you can't warp into vehicle in the client side.
-
hello, how can i do like, one event for maybe 2 markers or more i want to do it like when i create new marker in the server the event in the server will work with it. i mean if i puted like this: addCommandHandler ("marker", function (plr) createMarker (1, 1, 1, "cylinder", 2, 255, 0, 0) end ) i want to do it like when i create the marker the event will work with it .. i know this way 'resourceRoot' i wnat another way to do it .. and thank you.
-
i know that, i meant, i want the real sound of the weapon stops when the player is shooting, and the custom sound start, so you can't hear the real sound of the weapon, only custom sounds.
-
yes, but i don't want the real sound to start
-
hello, i have a little question which is, how can i make when the player shoting the real sound of the weapon stop, and make another sound starts ?
-
will it didn't help me, but make it worse i'm trying to edit the zombie mod cause there is a trigger will work everytime that the zombie punched or jumped and the trigger serverside, so the client will not work if the download doesn't finish. so i can't make it with table and when want to check it i have to loop through all players to check if he is in the table to do the trigger so that will bring all the players in the server and make a trigger with all the numbers of the players in the server so let's say there is a 30 player the trigger will work 30 times in everytime the zombie punched or jumped so nah, it didn't helps. and thank you for trying to help me. any help please ?
-
hello, i have that problem while player is downloading the trigger will work cause the trigger in serverside, so while he downloading the trigger will work and the error message willl shows up "trigger clientside but event is not added clientside" and the lag also becuase the client as we all know works when the download finish so is there anyway to make it stop while downloading ?
-
hi, i'm trying to change the way that the rectangle disappears. here xXMADEXx make it like disappear with alpha , so i want to change that by make it go up slowly i tried many ways and one of them has worked but not fine. it goes up slowly but not as the way it should be going like. i want the first rectangle when the time end the first rectangle go up slowly and the 2nd and ...... so, help !!