Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. PaiN^

    Scoreboard

    You're welcome . lol? bool . It ses var in wiki
  2. PaiN^

    Scoreboard

    The third argument of setElementData is variable not string, Try : exports [ "scoreboard" ]:addScoreboardColumn ( "Clan", 3 ) local none = "None" function updatePlayerClan ( ) for index, players in ipairs ( getElementsByType "player" ) do if ( getElementData ( players, "clan" ) == "false" ) then setElementData(players, "Clan", none) else setElementData ( players, "Clan", getElementData ( players, "clan" ) ) end end end setTimer ( updatePlayerClan, 2500, 0 ) Not sure though ..!
  3. Coffee كل هذي المشاكل بسبب الـ
  4. Did you tried to change the language ? Maybe, I'm not sure s:
  5. Server Side Scripting Language ) ونعني بذلك انها تترجم من جهة الخادم وليس من جهاز المستخدم. لنضرب مثالا واقعيا على ذلك , عند الدخول الى الدردشه يجب عليك ان تقوم بتحميل (( JAVA VM )) على جهازك لتتمكن من الدخول ولكن اذا قمت بزياره اي موقع يستخدم لغة PHP فلن يكون هناك حاجه لتنصيب او تحميل اي برامج مساعده. فما وراء الكواليس كله يحصل في الخادم (( Server )), صممت هذه اللغه خصيصا للمواقع. ومن ضمن صفحات HTML يمكنك ادراج لغة PHP بداخلها لكي تنفذ في كله مره قمت بزياره الصفحه. بدأت لغة PHP بمجهود شخص واحد يسمى ( Rasmus Lerdorf ) في سنة 1994 ومرت بثلاث مراحل جذريه لنرى ماهي عليه الان, حتى انه في سنة 2002 كان عدد المواقع التي تستخدمها اكثر من 9000000 (( تسعة مليون )) موقع. PHP لغة برمجة متاحه للكل لتطويرها او العمل عليها وهذا ما يسمى ( Open Source ). قديما كان اختصار PHP هو ( Personal Home Page ) ولكن تغيرت الى الاسم الحالي ( Hypertext Processor ). النسخه الحاليه للغة PHP هي 5 وقد حصل بها تطور كبير وتغيرات جذريه كبيره واصبحت اقوى بكثير من ما هي عليه الان. LooooL مو شرح عنها PHP هذا تاريخ الـ تسلم
  6. PaiN^

    Help

    addEventHandler("onVehicleExplode", getRootElement(), cancelEvent())
  7. on the spawnPlayer function there is a skin determining option ! You just have to change the skin ID -_-"
  8. فيها تأثير سحري .. أوكي مشكوور + داري
  9. معليش أخوي عناد عندي سؤال شاطح شوي أنا لاحظت إنك تستخدمم ( _ ) في كل أكوادك تقريباً aOpen_ , plr_ هل هي لها تأثير على الكود أو شي إنت متعود عليه ؟
  10. PaiN^

    Panel Help

    You're welcome.
  11. Edit the spawn function from the broph.lua file ( It's in the play folder )
  12. I may help ( RP only ! ) ... PM me
  13. Server : addEventHandler ( 'onPlayerJoin', root, function ( ) setPedFightingStyle ( source, styleID ) end )
  14. setTimer guiGetVisible guiSetVisible
  15. PaiN^

    Panel Help

    I really don't know S: , Never used onClientRender before !
  16. PaiN^

    Panel Help

    Sorry to interrupt, But you can refresh players by adding the refresh to the open panel function, Like this : function getAllPlayers ( ) for key,player in pairs(getElementsByType("player")) do local row = guiGridListAddRow(userPanelGrid1) local row2 = guiGridListAddRow(userPanelGrid2) guiGridListSetItemText(userPanelGrid1, row, playerCol, getPlayerName(player), false, false) guiGridListSetItemText(userPanelGrid2, row2, playerCol2, getPlayerName(player), false, false) end end bindKey ( 'F2', 'down', function ( ) for key,player in ipairs ( getElementsByType ( 'player' ) ) do if guiGetVisible ( yourWindowName ) then guiSetVisible ( yourWindowName, false ) showCursor ( false ) guiGridListClear ( userPanelGrid1 ) guiGridListClear ( userPanelGrid1 ) else guiSetVisible ( yourWindowName, true ) showCursor ( true ) getAllPlayers ( ) end end end )
  17. .. تحتاج لصلاحيات آدمن على ما أعتقد getPlayerIP
  18. ~. ما شآء الله تنفيذ رائع وشخصيات فله # ^* لآتحرمنا إبداعكـ
×
×
  • Create New...