-
Posts
4,961 -
Joined
-
Last visited
Everything posted by Jaysds1
-
ok, overstandable, Nice Video BTW 'SayCap'
-
I know, but if you look at some turns, you could see that the car stops then moves, Drifting is moving while turning and does create skid marks and smoke, but when he turns, i don't see some skid marks.
-
actually I meant in the Admin Resource, it should be located in the server folder and the file should be called 'admin_ip2c".
-
Handbrake/Parking Brake: http://en.wikipedia.org/wiki/Hand_brake He used it to much, especially for turns.
-
well, you would need to modify the script and type in the Countries name's.
-
it's located where your mtaserver.conf file is.
-
type in openports in the console/window, I'm not sure about the site and please post a SS again of it
-
well, I'm not sure what you could do, you could try learning LUA then create an Admin Panel, but it's not going to be easy, as I am making one but chose to stop the development, I might continue it later on but not right now. anyways, I'm not sure what to say.
-
try this: function player_Spawn() -- The source of this event is the player that just spawned. if getElementModel(source)~= 0 then --Check if their skin is 0 setElementModel(source,0) -- set spawned player skin to 0 end end addEventHandler ( "onPlayerSpawn", getRootElement(), player_Spawn ) function spawn ( ) -- The source of this event is the player who joined. spawnPlayer(source,0,0,0) end addEventHandler ( "onPlayerJoin", getRootElement(), spawn ) addEventHandler ( "onPlayerWasted", getRootElement(), spawn )
-
Thanks solid, Noob mistake
-
umm, I don't think that would be enough. try this: local projectiles = { [16]=true, [17]=true, [18]=true, [39]=true } function onWasted(killer, weapon, bodypart) --First get the weapon type if projectiles[weapon] then --this checks if it's a projectile givePlayerMoney(killer, 1000) --if it is, then give the player the money end end addEventHandler("onPlayerWasted",root, onWasted) Please read more on this page: Weapons
-
try this please: function createPick (thePlayer) --thePlayer wasn't defined and please don't use the mta function as a function for your script, unless you want to add something with the createPickup local x, y, z = getElementPosition ( thePlayer ) local pickup = createPickup ( x + 2 , y + 2 , z + 0, 2, 2, 10000, 100 ) --the words and the semi-brackets were not needed. if (pickup ) then outputChatBox("Successful", thePlayer) else outputChatBox("Unsuccessful!", thePlayer) end end addCommandHandler("pickupWeapon", createPick ) -- Please not that when you create a command, there should be no space as the system would think it's an arguement and please make sure it's server-sided.
-
actually, the values could go in with out using "tostring" or "tonumber". anyways, make sure this is server-sided. if it still doesn't work, try this: function trace(source) local x, y, z = getCameraMatrix(source) if x and y and z then outputChatBox("Your Camera Positions are x: "..(x).."; y: "..(y).."; z: "..(z),source) else outputChatBox("Test!!!",source) local x1,y1,z1 = getElementPosition(source) setCameraMatrix(source,x1,y1,z1+3,x1,y1,z1) -- this would set the camera looking down at you x, y, z = getCameraMatrix(source) --replace the current vars outputChatBox("Your Camera Positions are x: "..(x).."; y: "..(y).."; z: "..(z),source) setTimer(setCameraTarget,7000,1,source,source) setTimer(setCameraTarget,7000,1,source,source) end end addCommandHandler("t",trace)
-
Nice, but too much handbrakes
-
try this: x, y = guiGetScreenSize() --x is the width of the screen x = x - 100 --X is now 100 Pixel from the right end of the screen. dxDrawColorText ('#ffa500sb#ffffffgames#ffa500.com#ffffff.br', x,(y - dxGetFontHeight(250, 'default-bold')/2+1), 100, 100+1, tocolor ( 255, 255, 255, 255 ), 0.9, 'default-bold', 0.60, 'right') --screenHeight was not defined, I think you wanted to use y end and please read the comments
-
He's trying to tell you that 'screenHeight' is not defined in the script...
-
Well, I only know about the 'BaseMode' Gamemode but it's all about war...
-
Sometimes I hate waiting so long but what I found useful is putting the MTA Window down then pulling it back up and it goes right through.