Jump to content

#Al-Ha[J]aRii

Members
  • Posts

    482
  • Joined

  • Last visited

Everything posted by #Al-Ha[J]aRii

  1. جربت تثبتها من جديد لان يقول لك reinstall
  2. localPlayer --Client only شلون تسوي تريقر من كلاينت لكلاينت ههههه مانتبهت ذذ لاني كنت مستعجل المهم تم التعديل ~
  3. I want know how I wil get the ped get attacked is there Parameters ?
  4. onClientPreRender for what function ?
  5. what the Parameters name for the player get attacked from attacker
  6. I know onPlayerDamage but I said want when player attack player like jail system take the player get attacked follow the player attack him !
  7. #Al-Ha[J]aRii

    Help ?

    hi guys what would I wil use for when player attack player take the player get attack follow the player attack him ?
  8. function opengui(player) if getElementType( player ) == "player" then if not isPedInVehicle(player) then return end mark = nil for i,v in ipairs(markers) do if markers[i][1] == source then if getElementData(player, "Group") == markers[i][4] or markers[i][4] == "N/A" then mark = markers[i][2] splitted = split(markers[i][3],",") x,y,z = splitted[1],splitted[2],splitted[3] triggerClientEvent(player,"openGUI",getRootElement(), mark) else outputChatBox(markers[i][4] .. " هذه الماركر فقط لقروب ",player,255,153,20,true) end end end end end + لين تبي يااخد سيارة وحده و بعدين اخد ثانية تنسحب الاولى Event : "onMarkerHit" destroyElement getPedOccupiedVehicle createVehicle warpPedIntoVehicle
  9. executeSQLQuery ( "INSERT INTO `xAlhajarii` ( PlayerName ) VALUES(?)",getPlayerName(name)) wil insert be like this ?
  10. اكيد تقدر انت حط الكولمون اللي تحتاجة بس نفرض كذآ : executeSQLQuery("CREATE TABLE IF NOT EXISTS `xAlhajarii` (`Column`) ") executeSQLQuery("CREATE TABLE IF NOT EXISTS `xAlhajarii` (`Column`,`Column`,`Column`,`Column`,`Column`) ") غير مهم اللي مهم تحط اللي تحتاجة وتعرفه على كل شيء تحتاجة .. والي ما احتاجه اتركه ؟
  11. اقدر احذف من جدول SQL LITE Column ?? executeSQLQuery("CREATE TABLE IF NOT EXISTS `xAlhajarii` (`Column[1]`,`Column[2]`,`Column[3]`")
  12. addEventHandler('onResourceStart',getResourceRootElement ( getThisResource ( ) ), function ( ) executeSQLQuery ( 'CREATE TABLE IF NOT EXISTS `Like UnLike System` ( PlayerName,MyCoulmn[2],MyCoulmn[3] )' ) end ) ------------------------------------------------------------------------------------------------------------ function Results() local Results = executeSQLQuery("SELECT * FROM `Like UnLike System` WHERE PlayerName=?",getPlayerName ( name ) ) if ( Results == "table" and #Results == 0 or not Results ) then executeSQLQuery ( "INSERT INTO `Like UnLike System` ( PlayerName,MyCoulmn[1],MyCoulmn[2] ) VALUES(?,?,?,?)",getPlayerName(name)) else executeSQLQuery('UPDATE `Like UnLike System` SET MyCoulmn[1], MyCoulmn[2] PlayerName =?',?,?,getPlayerName(name)) end end addEvent("gResults",true) addEventHandler("gResults",root,Results) can I keep it's with [ ? ] ?
  13. wil remove with ? I saw no sql lite function remove column just row .
  14. but I need just 1 column bro in this example there is function for sql are canceled I learn it but I can't to take column 1 just or I wil put like this ? local Tabel = executeSQLQuery("CREATE TABLE IF NOT EXISTS xAlhajarii ( PlayerName ,? ,? )")
  15. SQL Also ? I said I wil not understund lua
×
×
  • Create New...