Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. To get all players use : getElementsByType
  2. hmm.. ? use it server side this is an example only .
  3. See this simple example and we don't make script for people . for k,v in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(gridlist) guiGridListSetItemText(gridlist,row,column,getPlayerName(v),false,false) guiGridListSetItemText(gridlist,row,column,getPlayerSerial(v),false,false) end
  4. iPrestege

    help

    for _,players in ipairs (getElementsByType("player")) do local roww = guiGridListAddRow ( kick ) guiGridListSetItemText (kick, roww, 1,getPlayerName(players), false, false ) guiGridListSetItemColor (kick, roww,1, math.random(0, 255), math.random(0, 255), math.random(0, 255) ) guiSetFont(kick,"default-bold-small") end
  5. https://community.multitheftauto.com/index.php?p=resources&s=details&id=6740 Stolen . DONE
  6. getPlayerSerial getPlayerIP getPlayerName guiGridListAddRow guiGridListSetItemText
  7. لول مدري بس تواصل مع ديلوكس الرسمية لاني قد كلمتةة قبل عناد وقالي مالة تحكم الا بالعربي
  8. ماعتقد عناد لة تحكم بـ غير الخادم المسؤول عنةة ذذ
  9. Ok Thanks but this take much time any way i know there's no way thank you SolidSnake .
  10. Yes , I Know that but i mean there's no function to get skin name from id! i need it!or i need an idea how to do it.
  11. Hi guys, I have a simple Enquiry Is there a function similar to this function? i mean like this it will be easy for me for example : local VehicleTable = { 602, 545, 496, 517, 401, 410, 518, 600, 527, 436, 589, 580, 419, 439, 533, 549, 526, 491, 474, 445, 467, 604, 426, 507, 547, 585, 405, 587, 409, 466, 550, 492, 566, 546, 540, 551, 421, 516, 529, 592, 553, 577, 488, 511, 497, 548, 563, 512, 476, 593, 447, 425, 519, 520, 460, 417, 469, 487, 513, 581, 510, 509, 522, 481, 461, 462, 448, 521, 468, 463, 586, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 485, 552, 431, 438, 437, 574, 420, 525, 408, 416, 596, 433, 597, 427, 599, 490, 432, 528, 601, 407, 428, 544, 523, 470, 598, 499, 588, 609, 403, 498, 514, 524, 423, 532, 414, 578, 443, 486, 515, 406, 531, 573, 456, 455, 459, 543, 422, 583, 482, 478, 605, 554, 530, 418, 572, 582, 413, 440, 536, 575, 534, 567, 535, 576, 412, 402, 542, 603, 475, 449, 537, 538, 441, 464, 501, 465, 564, 568, 557, 424, 471, 504, 495, 457, 539, 483, 508, 571, 500, 444, 556, 429, 411, 541, 559, 415, 561, 480, 560, 562, 506, 565, 451, 434, 558, 494, 555, 502, 477, 503, 579, 400, 404, 489, 505, 479, 442, 458, 606, 607, 610, 590, 569, 611, 584, 608, 435, 450, 591, 594 } for _,vehicle in ipairs (VehicleTable) do local row = guiGridListAddRow ( gridlist ) guiGridListSetItemText ( gridlist, row, 1,getVehicleNameFromModel (tonumber( vehicle )), false, false ) guiGridListSetItemColor ( gridlist, row,1, math.random(0, 255), math.random(0, 255), math.random(0, 255) ) guiSetFont(gridlist,"default-bold-small") end Thank you!
  12. Do You Have Problem? Or What The Fuck? Should Use : triggerClientEvent Why? Becuase "Play Sound" Function Client Side Only .
  13. onPlayerLogin triggerClientEvent playSound
  14. iPrestege

    help

    You're Welcome .
  15. iPrestege

    help

    addEventHandler( "onClientResourceStart",resourceRoot, function ( ) local elementType = getPlayerName(localPlayer) guiSetText ( numele, elementType ) end )
  16. حياك الله # You're Welcome .
  17. معطي هـ المودات صلاحية ؟ ========================= resource.mapmanager resource.mapcycler resource.spawnmanger resource.race
  18. Well!This is what we needed!Thanks SoRa!
×
×
  • Create New...