iMr.SFA7 Posted August 14, 2015 Share Posted August 14, 2015 -- Client Side addEventHandler ( "onClientGUIClick", root, function ( ) if source == button1 then local id = guiGetText(carid) local Chat = guiGetText(EditChat) if ( id ~= " " and Chat ~= " " ) then triggerServerEvent("hss", localPlayer, id, Chat) end end end ) -- Server Side addEvent ( "hss", true ) addEventHandler ( "hss", root, function ( id , Chat) for _,v in ipairs ( getElementsByType ( "player" ) ) do local x, y, z = getElementPosition( v ) if not isElement( veh ) then outputChatBox (Chat,v,255,0,0) veh = createVehicle( id, x, y, z ) warpPedIntoVehicle(v, veh) else if isElement ( veh ) then destroyElement ( veh ) end end end end ) Link to comment
iMr.SFA7 Posted August 14, 2015 Share Posted August 14, 2015 ما ظبط للاسف جربته شغال ! ذذ سطر 8 بالكلنت local Chat = guiGetText(EditChat) EditChat = اسم الاديت الي تبي تكتب في الكلام Link to comment
~Mr.Hassan Posted August 14, 2015 Author Share Posted August 14, 2015 بس انت حاطط سطرين ايديت اتوقع الاول ليش ؟ Link to comment
~Mr.Hassan Posted August 14, 2015 Author Share Posted August 14, 2015 -- Client Side addEventHandler ( "onClientGUIClick", root, function ( ) if source == button1 then local id = guiGetText(carid) local Chat = guiGetText(EditChat) if ( id ~= " " and Chat ~= " " ) then triggerServerEvent("hss", localPlayer, id, Chat) end end end ) -- Server Side addEvent ( "hss", true ) addEventHandler ( "hss", root, function ( id , Chat) for _,v in ipairs ( getElementsByType ( "player" ) ) do local x, y, z = getElementPosition( v ) if not isElement( veh ) then outputChatBox (Chat,v,255,0,0) veh = createVehicle( id, x, y, z ) warpPedIntoVehicle(v, veh) else if isElement ( veh ) then destroyElement ( veh ) end end end end ) شوف حاطط مرتين ايديت ليه ؟؟ ذذ Link to comment
iMr.SFA7 Posted August 14, 2015 Share Posted August 14, 2015 أنت قلت تبي أديت تحط في أيدي السيارة صحيح ؟ وأديت ثاني تكتب كلام سبب التوزيع ! ذذ Link to comment
~Mr.Hassan Posted August 14, 2015 Author Share Posted August 14, 2015 ههههههههههههههههههههههههههههههههههههههه نسيت Link to comment
iMr.SFA7 Posted August 14, 2015 Share Posted August 14, 2015 هههههههههههههههههههههههههههههههههههههههنسيت Link to comment
; Mr.T76eM # Posted August 14, 2015 Share Posted August 14, 2015 هههههههههههههههههههههههههههههههههههههههنسيت طبيعي لا تستغرب Link to comment
MR.GRAND Posted August 16, 2015 Share Posted August 16, 2015 انا صلحت كود تدميروطلع بيعمل اما بس نسخت كودك وكذا ما ظبط خربت الكود كله ذذ Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now