Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. This should be in scripting section, And please use [lua ][/lua] for lua codes !
  2. مبدع ما شاء الله, ولآهنت عالطرح #
  3. getPlayerWantedLevel setPlayerNametagText
  4. ! ما أعتقد في طريقة الله أعلمـ
  5. PaiN^

    Chat Resource

    Or, You can download one from the community
  6. ! meta أول, وبعدين تضغطه مع الـ Lua المفروض تسوي الأكواد داخل ملف
  7. .. تفتحها بالنوت باد أو المفكرة, ما تفتحها كذا علطول Lua ملفات
  8. PaiN^

    end)

    It's do not for ( Try with Notepad++ )
  9. PaiN^

    Resource Bugs

    Contact the owner of the script ..
  10. مبدع ما شاء الله عليك بالتوفيق #
  11. تعديل الكلنت : addEventHandler("onClientGUIClick",getRootElement(), function () local user = guiGetText(GUIEditor_Edit[1]) local pass = guiGetText(GUIEditor_Edit[2]) if ( source == GUIEditor_Button[1] ) then if ( guiCheckBoxGetSelected ( GUIEditor_Checkbox[1] ) ) then triggerServerEvent("save",getLocalPlayer()) triggerServerEvent("onlogin",getLocalPlayer(),user,pass) else triggerServerEvent("onlogin",getLocalPlayer(),user,pass) end elseif ( source == GUIEditor_Button[2] ) then triggerServerEvent("onre",getLocalPlayer(),user,pass) end end end )
  12. Any errors on debugscript ? * EDIT : I don't see where he mentioned a car ! Experience What so funny ?!
  13. PaiN^

    Creating accounts

    If you're gona modify the acl.xml file, Then you have to stop your server first !
  14. @ The Best : The source of the event onMarkerHit is the marker that got hit, Read the wiki first ! @ Dice : if you want the message to appear to every one in the server : vatoMarker = createMarker ( 393.60001, -2059.69995, 9.736, "cylinder", 1, 255, 255, 0, 18 ) addEventHandler ( "onMarkerHit", vatoMarker, function ( ) outputChatBox("Test",root,0,255,0,true) end ) And If you want it to appear only for the player that hit the marker : vatoMarker = createMarker ( 393.60001, -2059.69995, 9.736, "cylinder", 1, 255, 255, 0, 18 ) addEventHandler ( "onMarkerHit", vatoMarker, function ( hitElement ) if getElementType ( hitElement ) == "player" then outputChatBox("Test",hitElement,0,255,0,true) end end )
  15. What do you want to output ? A player's name, Element type, etc ...
  16. If you created the explosion in server side, You can't stop it from causing damage ! You only can cancel the damage on client side ..
  17. Try this : ped1 = createPed ( 1, 2471, -1655, 14, 90 ) ped2 = createPed ( 2, 2471, -1658, 14, 90 ) ped3 = createPed ( 1, 2471, -1661, 14, 90 ) ped4 = createPed ( 1, 2471, -1664, 14, 90 ) ped5 = createPed ( 1, 2471, -1667, 14, 90 ) setPedAnimation( ped1, "FAT", "FatSprint") setPedAnimation( ped2, "FAT", "FatWalk", 0, true, true ) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function() txd = engineLoadTXD ( "data/Velociraptor/velociraptor.txd" ) engineImportTXD ( txd, 1 ) dff = engineLoadDFF ( "data/Velociraptor/velociraptor.dff" ) engineReplaceModel ( dff, 1 ) txd2 = engineLoadTXD ( "data/Tyrannosaurus/tyrannosaurus.txd" ) engineImportTXD ( txd2, 2 ) dff2 = engineLoadDFF ( "data/Tyrannosaurus/tyrannosaurus.dff" ) engineReplaceModel ( dff2, 2 ) end ) addEventHandler( "onClientRender", root, function ( ) local x, y, z = getElementPosition ( ped2 ) setElementPosition ( ped2, x + 10, y, z ) end )
  18. Client .. EDIT : oh i saw the error , Thanx TAPL
  19. createExplosion ( pX, pY, pZ, 6, true, true, false )
×
×
  • Create New...