Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. PaiN^

    command hook

    onConsole event will be triggered only if he types the command in the console ! so if any one typed /command in the chat, it wont be triggered ( Just saying )
  2. PaiN^

    command hook

    'onPlayerCommand'
  3. Your code well add him to the ~|EG|~Admin team ! What he wants is :
  4. Do it server side and move it a couple Inches from your position ..
  5. ما شاءالله مبدع كعادتك بالتوفيق ياكنق =)
  6. PaiN^

    CheckBox

    addEventHandler ( 'onClientGUIComboBoxAccepted', root, function ( comboBox ) local item = guiComboBoxGetSelected ( comboBox ) local text = guiComboBoxGetItemText ( comboBox, item ) if text == "Español" then guiSetText(gangWindow, "Sistema de Gang V1.0") guiSetText(nameColumn, "Nombre") guiSetText(accountColumn, "Cuenta") guiSetText(addPlayerButton, "Agregar jugador") guiSetText(closeButton, "Cerrar") elseif text == "English" then guiSetText(gangWindow, "Gang System V1.0") guiSetText(nameColumn, "Name") guiSetText(accountColumn, "Account") guiSetText(addPlayerButton, "Add player") guiSetText(closeButton, "Close") end end ) Make sure the text is totally the same, Or else it won't work .. * Edit : Thanx Anderl
  7. Oh, I didn't know that, Thanx =)
  8. I have installed this version and gave it the permissions it needs, But when i wright /guieditor in chat or guieditor in console It does not work, Can any one help please ?
  9. This may do it : setTimer ( function ( ) for i,Peds in ipairs ( getElemetsByTpe ( 'ped' ) do for i,Players in ipairs ( getElemetsByTpe ( 'player' ) if Peds ~= Players then destroyElement ( Peds ) end end end end, 50, 0 )
  10. Working, Thank you !
  11. It could be another resource or a map or modified gamemode ..
  12. The syntax is: bool setVehicleHandling ( element theVehicle, string property, var value ) It says in the wiki that the value of the centerMass property is a table . I want an example of how to do that !, I tried this but it didn't work : local Table = { [0.1] = posX, [0.3] = posZ, [-0.15] = posY } setVehicleHandling ( theVehicle, 'centerMass', Table ) No errors in debug !
  13. Hi, How can i use that function with the centerMass property ? I need an example ! And Thanx ..
  14. HI, Can i use getElementPosition to get an object position ? If not, Then how can i ? Thank you in advanced ..
  15. ما شاء الله # ^^ تطور رآئع ومود حلو ~ بالتوفيق لك ~
  16. .. وإذا تقصد شخصيات زي الثوب وكذا, فدور بالمنتديات هنا ما بتلاقي
  17. PaiN^

    admin group

    Mr.Pres[T]ege and Sasuke* codes are correct ! Show your full code ( Server and Client )
  18. Remove these resources from the Admin group in the acl.xml : mapcycler and mapmanager EDIT : Sorry, Add them not remove theme -.-"
  19. PaiN^

    Anti Logout

    Post what you have done !
  20. ?!! The line you posted is totally correct ! It have to be something else
  21. PaiN^

    Anti Logout

    And if you couldn't, Post it here and we'll help ^^
×
×
  • Create New...