-
Posts
3,267 -
Joined
-
Last visited
-
Days Won
7
Everything posted by Tete omar
-
الله يعطيك الف عافية وصحة edit: تم التحديث
-
فيه نوعين منه, نوع داخلي ونوع خارجي, الخارجي هو انك تحفظ البيانات في قاعدة بيانات في هوست معين الداخلي هو انك تحفظ البيانات في ملف داخلي عندك SQL بالنسبة لل SQLite - القاعدة الداخلية MySQL - القاعدة الخارجية الاثنين هم لحفظ البيانات, والاكثر استخدام عالمياً, يستخدمونهم في البنوك والمصالح الحكومية والخ .. يعتبر الاس كيو ال هو من افضل قواعد البيانات المجانية لحفظ المعلومات عالمياً الاستخدام بين النوعين احتمال يختلف, لاكن في اشياء بسيطة جداً, اما الاستخدام فهو لغة برمجية على ما اعتقد http://ar.wikipedia.org/wiki/%D8%A5%D8% ... 8%A5%D9%84 :هذا الشرح الكامل لل إس كيو إل
-
Use: sha256
-
local sound function playAlaram ( startInterval, endInterval, posX, posY, posZ ) setTimer ( function ( ) sound = playSound3D ( "alarm.mp3", posX, posY, posZ, true ) setTimer ( function ( ) stopSound ( sound ) sound = nil end, endInterval, 1 ) end, startInterval, 1 ) end playAlarm ( 18000000, 10000, 373.14, -125.21, 1001 ) الاستخدام: playAlarm ( int startInterval, int endInterval, float posX, float posY, float posZ ) startInterval: وقت البداية في ملي ثانية endInterval: وقت النهاية في ملي ثانية posX: x الاحداثيات posY: y الاحداثيات posZ: z الاحداثيات بهذا الشكل يمديك تسوي الارم في اي مكان تبي
-
math.random is a numeral function not for strings. Here you go: local Shirts = { { "player_torso", "torso" }, { "vestblack", "vest" } } local Texture, Model = unpack ( Shirts [ math.random ( #Shirts ) ] ) addPedClothes ( skinped, Texture, Model, 0 )
-
I'm sure this is the reason, |GMC|LinKin receives a warning of a bad argument in getTeamName which is simply because of getPlayerTeam does not return the team.
-
function playerRaged ( ) local team = getPlayerTeam ( source ) if ( team ) then -- team will be false if the quitting player is not in a team, so we check if team is not false local selectedTeam = getTeamName ( team ) if ( selectedTeam ) then outputChatBox ( selectedTeam .." quits" ) end end end addEventHandler ( "onPlayerQuit", root, playerRaged ) Your problem was probably because the quitting player is not in a team already.
-
No this retrieves the health and the score from a database, if you want to save/update something then use INSERT syntax to store something or use UPDATE syntax to update a stored data. Examples of INSERT and UPDATE syntaxes: executeSQLQuery("INSERT INTO players(name,color,sound) VALUES(?,?,?)", playerName, colorName, soundName ) executeSQLQuery("INSERT INTO `players`(`name`,`color`,`sound`) VALUES(?,?,?)", playerName, colorName, soundName ) executeSQLQuery("UPDATE players SET color='green',sound='somehead' WHERE name=?", playerName ) executeSQLQuery("UPDATE players SET color=?,sound=? WHERE name=?", colorName, soundName, playerName ) executeSQLQuery("UPDATE `players` SET `color`=?,`sound`=? WHERE `name`=?", colorName, soundName, playerName
-
|| Spawn Grid list || مـود الأنـتـقـآلأت قـريـد لـيـسـت ||
Tete omar replied to |~| ALCKASER |~|'s topic in المساهمات
الي قاهرني اني شفت واحد اجنبي يتريق على المودات العربية والبرازيلية الي بالكميونتي ويقول مودات غبية ما لها ربع فايدة .. يعني المودات العربية ينضرب بها المثل في الغباء -
تمت اضافة صفحة لتعريف الباند
-
You should have used executeSQLQuery
-
|| Spawn Grid list || مـود الأنـتـقـآلأت قـريـد لـيـسـت ||
Tete omar replied to |~| ALCKASER |~|'s topic in المساهمات
ما ابي احطمك, لاكن كل مبتدئ مدري ليش لازم يسويله مود انتقالات .. اذا تراجع الكومنتي تلقى الف مود مثل حقك, ياليت ننسى التقليد ونحاول نشغل راسنا شوي -
I don't know , notice that i've made a little edit on the last post, so you can have vx, vy and vz numeric
-
E.g: string = "0,0,1" vx, vy, vz = unpack ( split ( string, "," ) ) vx, vy, vz = tonumber ( vx ), tonumber ( vy ), tonumber ( vz )
-
Use: webstats resource Can be found in: server/mods/deathmatch/resources/[web]/webstats.zip
-
xmlNodeGetAttribute
-
حطه في المكان الي ينحط فيه الكودات امزح تعلم البرمجة وبتعرف وين تحطه
-
:وظايف createMarker createVehicle setPedArmor setElementHealth setElementPosition moveObject :احداث onMarkerHit
-
ينقل الى قسم البرمجة
-
E.g: playersVehicles = { { name = "pa3ck", vehicle = createVehicle ( ... ) }, { name = "Joe", vehicle = createVehicle ( ... ) }, { name = "Dustin", vehicle = createVehicle ( ... ) } -- etc... } playersVehicles [ 1 ].name -- pa3ck playersVehicles [ 1 ].vehicle -- pa3ck's vehicle Something like this..
