Jump to content

^Dev-PoinT^

Members
  • Posts

    313
  • Joined

  • Last visited

Everything posted by ^Dev-PoinT^

  1. i make This it say server:2 bad argument bindkey ? function fanFunction() bindKey (player,"-","down", function(player) outputChatBox (getPlayerName (player) .. "#FFFF00Need Help Please!",getRootElement(),255,255,0,true) end ) end addEventHandler ( "onResourceStart", getRootElement(), fanFunction )
  2. but how to Make it on Arabic + English Like Select System 1- Arabic 2- english can i have help on That
  3. oh i forget to see the event you are Right SoldSnake i well Put it onPlayerJoin
  4. i alredy try from source to Player Not work to
  5. Hi all Look To This i have bind the key no outputChatBox and no errors in debugscript /3 function fanFunction() bindKey (source,"-","down", function(player) outputChatBox (getPlayerName (source) .. "#FFFF00 Need Help Please!",getRootElement(),255,255,0,true) end ) end addEventHandler ("onPlayerLogin",getRootElement(),fanFunction)
  6. i made This function giveArmor() if ( killer ) and ( killer ~= source ) then setPedArmor(killer, 48) outputChatBox(getPlayerName(killer).." has won 48% Armor For Kill A Player", root, 255, 255, 0) outputChatBox("You Have won Free Armor for Kill A Player", player, 0, 255, 0) end end if getPedArmor(source) > 0 then setPedArmor(source, 0) outputChatBox(getPlayerName(source).." has Lost His Armor For Dead!", root, 255, 255, 0) end end addEventHandler("onPlayerWasted", root, giveArmor)
  7. SoldSnake There is one last problem i got the armor but when map end and move to Lobey BaseMode Armor gone ! can you make it if killer kill the player he lost his Armor
  8. Thx SoldSnake14 You Have Helped me so mutch i relay appreciate my Frind
  9. has Lost His Armor For Dead in Round Noob!" he say it even if i dont have Armor how To Fix This
  10. Hi all i have made This function giveArmor() local pC= getAlivePlayers() if (#pC >= 1 and #pC <= 5) then for id, player in ipairs(pC) do setPedArmor(player, 50) outputChatBox(getPlayerName(player).." has won 50% Armor For Alive on Round", root, 0, 255, 0) outputChatBox("You Have won Free Armor for be Alive in Round", player, 255, 255, 0) end end setPedArmor(source, 0) outputChatBox(getPlayerName(player).." has Lost His Armor For Dead in Round Noob!", root, 255, 255, 0) end addEventHandler("onPlayerWasted", root, giveArmor) 1-but there is a error at line 11 bad argument 2- if player die and dont have Armor he say This has Lost His Armor For Dead in Round Noob but what if the player dont have armor that my problem
  11. there is one alredy https://community.multitheftauto.com/index.php?p= ... ils&id=485
  12. yub dont put it like this ----------------------- put like This
  13. lol sry i dont see it function Music() playSound3D("music.mp3", 614.5419921875, -1895.9779052734, 3.4590957164764, true) playSound3D("music.mp3", -404.003784179, 340.27352905273, 1.2498687076, true) playSound3D("music.mp3", -1490.0997314453, 762.89318847656, 8.3803997039795, true) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), Music)
  14. use creatMarker if 1 Player Or More hit the marker warp him to The Trine ?
  15. Like This function onResourceStart() local sound = playSound3D("sounds/song.mp3", 373.14, -125.21, 1001, true) end addCommandHandler( "Play", onResourceStart ) ??
  16. mybe Set Ped position into Trian ?
  17. lol you replay fast Then me Tapl i alreday Made it lol
  18. More Passengers = More Ped Make
  19. maybe he mean 2 vehicles or more ?
  20. i made it from wiki vehicle Functions
  21. i made for you This function enterTrain(theVehicle, seat, jacked) if (getVehicleType" class="kw2">getVehicleType(theVehicle) == "Train") then outputChatBox("Welcome onboard!", source) outputChatBox("You entered ".. getVehicleType" class="kw2">getVehicleType(theVehicle) ..".", source) end end addEventHandler("onPlayerVehicleEnter", getRootElement(), enterTrain)
  22. Nice Tapl i forget abot That
  23. you mean like this function createPlayerList () --Create the grid list element local playerList = guiCreateGridList ( 0.80, 0.10, 0.15, 0.60, true ) --Create a players column in the list local column = guiGridListAddColumn( playerList, "Player", 0.85 ) if ( column ) then --If the column has been created, fill it with players for id, player in ipairs(getElementsByType("player")) do local row = guiGridListAddRow ( playerList ) guiGridListSetItemText ( playerList, row, column, getPlayerName ( player ), false, false ) end end end ?
×
×
  • Create New...