Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. PaiN^

    Error

    Maybe your save system is buged or out-dated, Post the script so we can help you .
  2. PaiN^

    Question

    addEventHandler( "onClientRnder", root, function( ) if window then return end window = guiCreateWindow( ... ) end )
  3. يبغالك تعدل السكور بورد بحيث ما يطلع السم اللاعب بس يطلع الداتا حقته
  4. PaiN^

    E-mail

    So i must have a website to be able to send e-mails ... Or is there away without a website/webhost ?
  5. PaiN^

    E-mail

    Hi, Can I send a message to an e-mail adress from the game ? And if so, How can i do that ?
  6. كان مداك تخلي اللوب من 1
  7. Event : onPlayerCommand في طريقتين : Functions : getTickCount - cancelEvent مع جدول أو Functions : setTimer - setElementData - cancelEvent
  8. @ iFahad : createMarker راجع أرقمنتات
  9. أصلا هو ما قال وش يبي الكود يسوي, عشان كذا متلخبطين
  10. -- # Client Side function Spawncar( hitPlayer ) if hitPlayer == localPlayer then triggerLatentServerEvent( "money",hitPlayer ) end end addEventHandler( "onClientMarkerHit", root, Spawncar ) --server addEvent( "money", true ) addEventHandler( "money", getRootElement(), function( ) local id = getElementModel( source ) if id == 437 or id == 431 then givePlayerMoney( source, 2000 ) end end ) * ! هذا الكود راح يتنفذ على أي ماركر
  11. الله يعافيك ,,
  12. local Position = { { x, y, z }, { x, y, z }, { x, y, z } } local vehicles = { } addCommandHandler( "set", function( player ) if isElement( vehicles[ player ] ) then destroyElement( vehicles[ player ] ) end local Pos_X, Pos_Y, Pos_Z = unpack( Position[ math.random( #Position ) ] ) setElementPosition( player, Pos_X, Pos_Y, Pos_Z ) vehicles[ player ] = createVehicle( 605, Pos_X, Pos_Y, Pos_Z ) if vehicles[ player ] then warpPedIntoVehicle( player, vehicles[ player ] ) end end )
  13. PaiN^

    Chat Box !

    كودي شغال يا ضاوي
  14. PaiN^

    Hello !!!

    Is "button" a table defined in the script, [1] = guiCreateButton ..., Is the button destroyed some where in the script ? if not, Post the full code .
  15. PaiN^

    Hello !!!

    Post the event handler of the function "Click" .
  16. PaiN^

    Script Help

    - player is not defined any where at the script use localPlayer ( getLocalPlayer ) . - Where is the variable "GuiButtons" defined ? I guess no where . And that's why you're geting these warnings .
  17. I would say shaders, But i'm not sure though .
  18. If i drived for a while and then i stoped ( no matter what gear i'm in ) the car won't move at all !
  19. PaiN^

    Script Help

    Use the event onClientGUIClick, And if you want to make the button unusable, You can use guiSetEnabled .
  20. Custom animations aren't supported in the current MTA version, And i don't think that there is a way to make that resource .
  21. PaiN^

    Hello !!!

    function Click( ) setElementDimension( localPlayer, 2 ) outputChatBox( tostring ( getElementDimension ( localPlayer ) ) ) triggerServerEvent( "racestart", localPlayer, localPlayer ) guiSetVisible( myWindow, false ) showCursor( false ) guiSetInputEnabled( false ) end
  22. Well he's not gonna help until you try .
  23. PaiN^

    Hello !!!

    Can you show me the function where this line is .
  24. Why not use this ? https://community.multitheftauto.com/index.php?p=resources&s=details&id=141
×
×
  • Create New...