Jump to content

Tete omar

Members
  • Posts

    3,267
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Tete omar

  1. جرب هذا addEventHandler ("onClientGUIClick", root, function() getMyIP = getPlayerIP( source ) if ( source == CopyIP ) then setClipboard ( getMyIP ) end end )
  2. الأفضل function playerCount ( ) outputChatBox ( "There are now " .. getPlayerCount() .. " players on this server!" ) end setTimer ( playerCount , 10000, 0 ) addEventHandler ( "onPlayerJoin", getRootElement(), playerCount ) addEventHandler ( "onPlayerQuit", getRootElement(), playerCount ) كل 10 ثواني
  3. يا ليت والله فكرتي من زمان انو نجتمع وانا مستعد اساعد بكل ما عندي شكراً يا Aesony على هالموضوع الجميل :]
  4. @ #x_,mjoody don't spam here. @ A3kri انت حطيت هالكود من قبل وكاستيلو قلك ما له معنى @A3kri ( english ) you did post this code before and castillo told you that all make no sense.
  5. if TAPL is the only person i will vote for him , but i would be very happy if JR10 get moderation he's good english and helpful and good knowledge of scripting, JR10 is much better thanks ransom.
  6. The code is wrong anyway. Client-side: addEvent( 'Event::Knowledge', true ); addEventHandler( 'onClientResourceStart', resourceRoot, function( ) createTeam( 'Another', 255, 0, 0 ); for _, v in ipairs( getElementsByType 'player' ) do triggerEvent( v, 'Event::Knowledge', v, getTeamFromName( 'Another' ) ); end end ) addEventHandler( 'Event::Knowledge', root, function( pTeam ) for _, v in ipairs( getElementsByType( 'vehicle' ) ) do if( getTeamName( getPlayerTeam( source ) ) == getTeamName( pTeam ) ) then if( getElementModel( v ) == 429 ) then setVehicleLocked( v, false ); end else setVehicleLocked( v, true ); end end end ) Well, that's very wrong even more. ????
  7. Hi, i got a problem here server side function nice(player) histeam = createTeam ("another", 255, 0, 0 ) triggerClientEvent(player,"knowledge",player,histeam) end addEventHandler("onResourceStart", getRootElement(), nice) client side addEvent("knowledge", true) function knowledge(histeam) if getPlayerTeam(localPlayer) == "histeam" then for _,vehi in ipairs (getElementsByType("vehicle")) do local getType = getElementModel (vehi); if getType == 429 then -- the vehicle model setVehicleLocked ( getType, false ); if getPlayerTeam(localPlayer) == nil then -- if another player then lock the vehicle setVehicleLocked ( getType, true ); outputChatBox("sorry, but you're not in this team"); end end end end end addEventHandler('knowledge', root, knowledge) i want here if not this player in this team then lock this vehicle model.
  8. yes A3kri that's right.
  9. try this --[[Panel created by: [FOTL]Danny]]-- --[[On 17th August 2011]]-- x,y = guiGetScreenSize() JobsWin = guiCreateWindow(x/3 - 170,y/3 - 20,200,320,"لوحة إختيار الفريق",false) teamsList = guiCreateGridList(0,22,186,255,false,JobsWin) column = guiGridListAddColumn( teamsList, "Teams", 0.85 ) for id, team in ipairs(getElementsByType("team")) do local row = guiGridListAddRow ( teamsList ) guiGridListSetItemText ( teamsList, row, 1, getTeamName ( team ), false, false ) guiGridListSetItemColor ( teamsList, row, 1, getTeamColor ( team ) ) end guiWindowSetMovable ( teamsList, false ) guiWindowSetMovable ( JobsWin, false ) guiWindowSetSizable ( teamsList, false ) guiWindowSetSizable ( JobsWin, false ) send = guiCreateButton(0,285,90,25,"Select",false,JobsWin) guiSetVisible(JobsWin, true) showCursor(true) setTimer ( showingTeams, 1000, 1) addEventHandler ( "onClientGUIClick", root, function ( button ) if button == "left" then if source == send then local row, col = guiGridListGetSelectedItem ( teamsList ) local teamName = guiGridListGetItemText ( teamsList, row, col ) triggerServerEvent ( "onPlayerChooseTeam", getLocalPlayer(), teamName ) guiSetVisible ( JobsWin , false ) guiSetInputEnabled ( false ) showCursor ( false ) end end end) addEventHandler("onClientGUIClick", getResourceRootElement(getThisResource()), close)
  10. Show the full code please because i'm not sure of yours.
  11. thanks callum , problem was solved , it's because of a software i've installed before, and now every thing stored, thanks.
  12. Hi, whenever i connect to any server , even my server , i got kicked and this message show me up You were kicked by (AC #4 P7DA.icE1d11nc [Trainer]) knowing i got no trainer/hacker or mods or new car models all were deleted. so what's the problem ?? last night i was normally connecting to the servers what happened to night ??
  13. will it keep moving or stop on an point ? , like this it show up, .. up and down , if you closed it , it will move down , if you opened it , it will move up and something like that thanks anyway
  14. Hi all how do i make any GUI element show up from the left of the monitor or right , ? like GTA4 cell phone when you press ..
  15. what the hell is this ?, stolen code + a joke , it must be removed.
  16. السيريال شي لاصق في الهارد وير حقك يعني لا يمكن تغييره أبداً واذا كنت تستعمل لابتوب لازم تشتري جهاز جديد عشان تدخل السيرفر REGARDS
  17. قدم طلب لفك الباند في الموقع التابع للسيرفر http://cit2.net/forum/index.php?board=244.0 اذا كنت انت اصلاً يا تابل متبند عشان سكربت الاف 6 الي بحرب العصابات ههه
  18. It's just compiled Lua using LuaC. no just put it in gameplay and try it on the game and see .. MOJRM-511 is a hack he's trying to hack by this code .
  19. https://community.multitheftauto.com/ind ... ls&id=4837 download it and see what inside
  20. طيب كيف تبي ينفك عنك الباند من سيرفر CIT وانت ما تعرف وش هو المذربورد ؟ هههههه
  21. It won't prevent from anything. You will need to have the resources in the server's resources folder. no i'm thanking him because i've created a website for free
  22. Thanks Jaysds i've created a website : )
  23. try this function Axel() destroyElement ( your object ) -- the player's object end addEventHandler ("onPlayerQuit", getRootElement(), Axel)
  24. make it impossible decompiling ( client ) only i guess TAPL
×
×
  • Create New...