Jump to content

^Dev-PoinT^

Members
  • Posts

    313
  • Joined

  • Last visited

Everything posted by ^Dev-PoinT^

  1. same Thing how about put the Ping in left corner and Money Right Corner?
  2. SoldSnake the Size is small and the are the same postion
  3. Thx Tapl For The example i well study it i Made This see local screenWidth, screenHeight = guiGetScreenSize() function M ( ) local money = getPlayerMoney(localPlayer) local ping = getPlayerPing(localPlayer) dxDrawText( "Your Money: "..tostring(money), 44, screenHeight-43, screenWidth, screenHeight, tocolor ( 0, 255, 0, 255 ), 1, "default-bold" ) dxDrawText( "Your Ping: "..tostring(ping), 44, screenHeight-43, screenWidth, screenHeight, tocolor ( 255, 255, 0, 255 ), 1, "default-bold" ) end addEventHandler("onClientRender",root, createText) is it Right?
  4. Yes But Show Money in Text is better the Scoreboard can you tell me how To Make it dxdrawText (Money) ?
  5. wtf dxdrawText Money Your Money : ...
  6. SoldSnake i make a smap deathmatch i want To Make Script Show PlayerMoney in Text
  7. Hi all who to Make dxdraw Money For Players i have Made Half of it but i dont understand dxdrawText exports.scoreboard:addScorboardColumn('Money') function M () local money = getPlayerMoney (source) setElementData (source, "Money", "$".. money ) end end addEventHandler ("onPlayerSpawn", getRootElement(), M ) function xxx () local screenWidth, screenHeight = guiGetScreenSize() local name = getPlayerName() local money = getPlayerMony(thePlayer)
  8. why need addEvent and how did you Prevent the explode from other Player?
  9. No Abio i say i made Half and Benjamex made Half but when i kill a Player He Explode and me ExPlode i wnat Only him Explode the other Player dont get Damge you get it?
  10. Hi all i have made This with Benjmex but the error is when The Player Die he Explode right but the Players next the Player who Explode the die To i need the damge to the Player who die only function onKill(ammo, killer, weapon, bodypart) if killer and killer ~= source and getElementType ( killer ) == "player" then local x, y, z = getElementPosition(source) createExplosion (x, y, z, 10) outputChatBox("You have been exploded by " .. getPlayerName(killer), getRootElement(), 255, 255, 0, true) end end addEventHandler("onPlayerWasted", getRootElement(), onKill) Sry for My Bad english
  11. How To Make it onley For Admins
  12. Hi all i made this how to make it show the info onPlayerJoin function join ( ) local serial = getPlayerSerial() local hour, mins = getTime() local name = getPlayerName(source) local version = getPlayerVersion(source) local ip = getPlayerIP(source)
  13. is there any command like this creatExplosion (x,y,z ,2 ,false) --flase mean damge to the Player who died onley
  14. i have a problem any Player Next the Player who explode he die to how To Make the other Player dont have damge
  15. example the shot in GTA-SA is Not real i want Make it real Like Movies just make me any example on it
  16. ClientSide .. function ip( thePlayer ) getPlayerIP = (thePlayer) end addEvent("ip") addEventHandler("ip", root, ip) serverSide... ip1 = guiCreateLabel(0.02,0.62,0.94,0.92,"your ip : "..ip ,true,tab1) guiLabelSetColor (ip1,255,255,0,220) guiSetFont(ip1,"default-bold-small") triggerClientEvent ( "ip", getRootElement(),getLocalPlayer() )
  17. How To Make Script on FxAddGunshot? There is no example https://wiki.multitheftauto.com/wiki/FxAddGunshot
  18. no thing Benxamix2 but the noon tapl i have send to him a private msg about reset source script and he is show it to every one to tell them iam noob but god well take my reveang thx close topic
  19. Nooob ! Your Code is about Money My Code is about Explosion ! and1- getElementPostion is it in Your Code Nah 2- createExplosion is it in Your Code Nah Then yes i made it
  20. 1= F u c k Y o u T a p l 2= if i have send you a Praivte Msg dont show it ! 3= i have fix it befour 3 weaks ! 4= outputChatBox("Score_System By Dev-PoinT v1.0",255,255,0) outputChatBox("Use/rest to Rest your Score To 0",0,255,0) function rest(player) setElementData(player,"killes",0) setElementData(player,"deaths",0) setElementData(player,"dmg",0) setElementData(player,"Damage",0) end addCommandHandler("rest", rest)
  21. Thx Benxamix2 Work Fine No erros Thx All For Help i have Learn That
  22. Like This ? function onKill(ammo, killer, weapon, bodypart) if (killer and killer ~= source) then if getElementType ( killer ) == "Player" local x, y, z = getElementPosition(source) createExplosion (x, y, z, 10) outputChatBox("You have been exploded by " .. getPlayerName(killer), getRootElement(), 255, 255, 0, true) end end addEventHandler("onPlayerWasted", getRootElement(), onKill) ?
×
×
  • Create New...