-
Posts
4,961 -
Joined
-
Last visited
Everything posted by Jaysds1
-
np, even I make that mistake with my resources
-
if the player is afk, then when they get shot or hit at, it sets their health back to what it was before.
-
Did you add them in the meta.xml?
-
I suggest running: Speedtest then post your results here
-
lol, ya, use: function respawn() if (getElementModel(localplayer) == THEMODELID) then x,y,z = getElementPosition(localplayer) rot = getElementRotation(localplayer) setTimer(createPed,60000,1,THEMODELID,x,y,z,rot) end end addEventHandler("onClientPedWasted",getRootElement(),respawn)
-
Was there any error messages?
-
"false boolean" from what line or function? The export thing?
-
Nice, this would be good for a RP Server, Mechanics could just change the colour of the vehicle by spraying like they do in real life, not go in to a garage and t automatically changes the vehicle... NICE
-
ok, try restarting it and the new resource that you've recently downloaded
-
ok,ok,ok, lol (kkk), What's is the problem anyways?
-
ohh, I never knew that, why didn't anyone told me b4? ok, i learned something else 2day
-
lol, hey, I have a Learning Disability and cant remember stuff that good
-
Common Yakuza, you have to learn before you begin a server, look at me, I tried learning before I opened a server, but now I'm kinda a pro... , but still LEARN
-
What's the error? The "localplayer" is not defined? The "GUIEditor_Button[1]" is not defined?
-
yeah, it is possible, you could use: dxDrawRectangle --and dxDrawText for the camera, use: setCameraMatrix and make them view the city. Unless, you want them to move them selves with no ped created.
-
There's options to opening the gate, 1. it opens if someone enters an area 2. it opens if someone types in an command 3. it opens to only one person 4. it opens or a team or group If you want it to open for the person that entered an area, you have to use: createColRectangle createColSphere -- etc... if you want it to open for the person that typed in a command, use: addCommandHandler("gate1",open) function open(player,command) --script here end if you want it to open for a person or a team/group, then you could use the example above about the colshape.
-
Nice, plus the movie was short, lol
-
ya, it's a simple script, My goal is to make simple scripts then make advance scripts like an Admin Panel or a server system(don't ask)...
-
heyyyy, that's not nice, I'm improving... I made more resources and they all work, at least you could do is say, "He's trying, and I could see that" or something... You can't bring down someone trying...
-
thanks, guyz, I made it all in 1 day...
-
thanks Cadu, TheBenja, That's like creating a full server, I'll do those things for money, contact me and we'll have a discussion about it TO ALL OTHERS WILLING TO POST MORE THINGS, CONTACT ME SO WE COULD DISCUSS SOMETHING, NO MORE POSTS!!!
-
This is a video for my resource: J Plane Bomb Plus an ad for people who never been in MTA or visited it. Anyways, hope you like it.
-
now i get this error: [2011-11-18 21:46:00] WARNING: [gameplay]\save\server.lua:39: Bad 'player' pointer @ 'bindKey'(1)
-
ok addCommandHandler("saveM", -- save position, where the markers going to go function(player,command,comment) if (command) then comment = tostring(comment) local x,y,z = getElementPosition(player) outputChatBox("What type of marker do you want: Press [ = checkpoint, ] = ring, ; = cylinder, ' = arrow, , = corona.",player,100,0,0) local key = {"[", "]", ";", "'", ","} bindKey(source,key,"down", function(source,key,keystate) if (key == "[") then local Mtype = "checkpoint" outputChatBox("What do you want your marker size to be? (1 -10)",source,100,0,0) unbindKey(source,key) local numbers = {1,2,3,4,5,6,7,8,9,10} bindKey(source,tostring(numbers),"down", function(player,numbers,keystate) if (numbers) then local Msize = tonumber(numbers) local markerID = {x,y,z,Mtype,Msize} triggerEvent("Marker",getRootElement(),markerID,comment) unbindKey(player,numbers) end end) elseif (key == "]") then local Mtype = "ring" outputChatBox("What do you want your marker size to be? (1 -10)",player,100,0,0) unbindKey(player,key) local numbers = {1,2,3,4,5,6,7,8,9,10} bindKey(player,tostring(numbers),"down", function(player,numbers,keystate) if (numbers) then local Msize = tonumber(numbers) local markerID = {x,y,z,Mtype,Msize} triggerEvent("Marker",getRootElement(),markerID,comment) unbindKey(player,numbers) end end) elseif (key == ";") then local Mtype = "cylinder" outputChatBox("What do you want your marker size to be? (1 -10)",player,100,0,0) unbindKey(player,key) local numbers = {1,2,3,4,5,6,7,8,9,10} bindKey(player,tostring(numbers),"down", function(player,numbers,keystate) if (numbers) then local Msize = tonumber(numbers) local markerID = {x,y,z,Mtype,Msize} triggerEvent("Marker",getRootElement(),markerID,comment) unbindKey(player,numbers) end end) elseif (key == "'") then local Mtype = "arrow" outputChatBox("What do you want your marker size to be? (1 -10)",player,100,0,0) unbindKey(player,key) local numbers = {1,2,3,4,5,6,7,8,9,10} bindKey(player,tostring(numbers),"down", function(player,numbers,keystate) if (numbers) then local Msize = tonumber(numbers) local markerID = {x,y,z,Mtype,Msize} triggerEvent("Marker",getRootElement(),markerID,comment) unbindKey(player,numbers) end end) elseif (key == ",") then local Mtype = "corona" outputChatBox("What do you want your marker size to be? (1 -10)",player,100,0,0) unbindKey(player,key) local numbers = {1,2,3,4,5,6,7,8,9,10} bindKey(player,tostring(numbers),"down", function(player,numbers,keystate) if (numbers) then local Msize = tonumber(numbers) local markerID = {x,y,z,Mtype,Msize} triggerEvent("Marker",getRootElement(),markerID,comment) unbindKey(player,numbers) end end) end end) end end)
-
Hi everyone, I want to bind a table of keys but I get an debug error message saying " [2011-11-18 21:04:59] WARNING: [gameplay]\save\server.lua:39: Bad argument @ 'bindKey'", here's my code: local key = {"[", "]", ";", "'", ","} bindKey(source,key,"down",(DON'T NEED TO KNOW)) thanks for helping...