Jump to content

POWER_LY

Members
  • Posts

    8
  • Joined

  • Last visited

Details

  • Gang
    LY-Scripter
  • Location
    Libya
  • Occupation
    Mahmoud Abugubba
  • Interests
    Engineering And Anime

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

POWER_LY's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. local myMarker = createMarker(2710.56689, 1502.52222, 6.74200, 'cylinder', 2.0, 255, 0, 0, 150) function myMarkerF(hit) outputChatBox ( "0") if hit == localPlayer then outputChatBox ( "1") if getPlayerTeam ( hit ) then if ( getTeamName ( getPlayerTeam ( hit ) ) == "Swat" ) then outputChatBox ( "2") end end if isPedInVehicle ( hit ) then outputChatBox ( "3") end end end addEventHandler("onClientMarkerHit",myMarker,myMarkerF)
  2. function GetPlayersInList () guiGridListClear(Gridlist) for i,v in ipairs(getElementsByType('player')) do if getElementData(v,'Vip') then local row = guiGridListAddRow(Gridlist); guiGridListSetItemText(Gridlist,row,1,string.gsub(getPlayerName(v), "#%x%x%x%x%x%x", ""),false,false) guiGridListSetItemColor(Gridlist,row,1,0,255,0) else local row = guiGridListAddRow(Gridlist); guiGridListSetItemText(Gridlist,row,1,string.gsub(getPlayerName(v), "#%x%x%x%x%x%x", ""),false,false) guiGridListSetItemColor(Gridlist,row,1,255,0,0) end end end
  3. POWER_LY

    i need help plaese

    why you are using my name ? go kill him
  4. function GetAllMaps () local MapList = {} local resourceTable = getResources() for i, v in ipairs(resourceTable) do local R_name = getResourceName(v) local R_type = getResourceInfo(v,"type") local R_realName = getResourceInfo(v,"name") or "Unknown" local R_AuthorName = getResourceInfo(v,"author") or "Unknown" if R_type == "map" then table.insert(MapList,{R_name,R_realName,R_AuthorName}) end end return MapList end
  5. استخدم الامر setPedStat مثال علي ذلك addCommandHandler('test',function (player) giveWeapon ( player , 26 , 9999) setPedWeaponSlot(player,3) setPedStat ( player, 73, 1000 ) end )
  6. addEventHandler( "onPlayerChat", root, function ( msg ) if ( string.find(msg,'ورع') ) then cancelEvent () outputChatBox ( "[#FF0000Chat System ] #000fff **عذرا , الكلام الذي كنت ستقوله ممنوع في السيرفر**", source, 255, 255, 255, true ) end end )
×
×
  • Create New...