Jump to content

BeCooL

Members
  • Posts

    292
  • Joined

  • Last visited

Details

  • Gang
    CAMORA

Recent Profile Visitors

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

BeCooL's Achievements

Pee-Wee

Pee-Wee (21/54)

0

Reputation

  1. Thanks , how to clear the edit after pressing enter ?
  2. there's no errors at /debugscript 3 , the problem when i press enter it's doesn't work
  3. hi guys , i need help :\ , what is the problem ? GUIEditor = { gridlist = {}, window = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(284, 101, 730, 555, "", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.gridlist[1] = guiCreateGridList(11, 21, 709, 480, false, GUIEditor.window[1]) col = guiGridListAddColumn(GUIEditor.gridlist[1], "Support", 0.9) GUIEditor.edit[1] = guiCreateEdit(9, 504, 705, 41, "", false, GUIEditor.window[1]) guiSetVisible ( GUIEditor.window[1] ,false ) end ) bindKey ( "J" , "down" , function() if ( guiGetVisible ( GUIEditor.window[1] ) == true ) then guiSetVisible ( GUIEditor.window[1] ,false ) showCursor (false ) elseif ( guiGetVisible ( GUIEditor.window[1] ) == false ) then guiSetVisible ( GUIEditor.window[1] ,true ) showCursor (true ) end end ) bindKey ( "enter" , "down" , function() if ( guiGetVisible ( GUIEditor.window[1] ) == true ) then Text = guiGetText ( GUIEditor.edit[1] ) local row = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText ( GUIEditor.gridlist[1], row, col, Text, false, false ) end end )
  4. حطمتوا الرجال ضض1 بالتوفيق...
  5. مشكؤؤر ي بعد تسبدي بس ابغى افهم ليه سويت ككذا وش الخطأ في الكود حقي وآسف عالاطاله
  6. WARNING: hijack\server.lua:16: Bad argument @ 'createBlipAttachedTo' [2001-02-15 18:51:06] hijack restarted successfully [2001-02-15 18:51:11] ERROR: hijack\server.lua:23: attempt to index local 'vehicle' (a userdata value)
  7. صار الماركر مايطلع اصلا !
  8. انت جربة اول سيارة الوضايف تممام بس الثانية تخرب مدري ليه !!
  9. خطا لو تدقق عدل راح تفهم +1
  10. السلام عليككم ورححمة لله شباب عندي مشككلة في هذا الكود ان اذا الاعب ركب يطلع له الماركر ولاكن بعد ماتختفي السيارة وطلعت ثانية اذ ركب ما يطلع الماركر اذا فيه خطأ صلحوه لاهنتم ca3 = { { 0, 0, 3 }, { 0, 0, 3 }, { 0, 0, 3 }, { 0, 0, 3 }, } marker = { { 102.0269241333, 54.090785980225, 0.44342550635338 }, { 11.605502128601, 58.490795135498, 1.6355142593384 }, } function CreatCarRandom () random = ca3[math.random(#ca3)] car = createVehicle(411, -0.77234786748886, 0.1968837082386, 3.1171875) blip1Car = createBlipAttachedTo(car, 53) outputChatBox("#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true) end addEventHandler ( "onResourceStart", getRootElement(), CreatCarRandom ) addEventHandler("onPlayerVehicleEnter", root, function (vehicle) if (vehicle == car) and not Marker then random = marker[math.random(#marker)] Marker = createMarker(random[1], random[2], random[3], "cylinder", 5, 0, 0, 205, 170) blipCar2 = createBlipAttachedTo(Marker, 51) setElementVisibleTo(Marker, root, false) setElementVisibleTo(Marker, source, true) end end ) addEventHandler( "onMarkerHit", root, function (hitElement) if source == Marker then if isPedInVehicle ( hitElement ) then givePlayerMoney ( hitElement, math.random(50000,70000) ) triggerClientEvent(hitElement, "playSoundC", hitElement) destroyElement(car) destroyElement(Marker) destroyElement(blipCar2) destroyElement(blip1Car) CreatCarRandom () end end end ) addEventHandler("onPlayerVehicleExit", root, function (vehicle) if (vehicle == car) and not Marker then setElementVisibleTo(Marker, root, false) setElementVisibleTo(Marker, source, false) setElementVisibleTo(blipCar2, root, false) setElementVisibleTo(blipCar2, root, false) end end )
  11. showCursor(true) أنت لم تفهم ما قصدته المؤشر مرئي ولكن النافذة خفية جرب اصنع نافذه ثانيةة الكود مية مية
×
×
  • Create New...