Jump to content

تم افادهـ من قبل #♡ ZĂ7Ḟ


xMr.SAAD

Recommended Posts

السلام عليكم

شبآب ابيكم تعدلون ذا كود

addEventHandler ( "onPlayerChat",root, 
    function ( msg, msgType )  
        if ( msg == "الدائري" and msgType == 0 ) then 
                setElementPosition (source, 1016.4785766602,-4957.4384765625,1642.9499511719) 
          outputChatBox("تم نقلكـ لـ الدائري",source,math.random(255),math.random(255),math.random(255),true) 
  
        end 
    end 
) 

ابيه يوم يكتب الدائري ينقلهـ

اذا كتب مره ثاني يجيه شات انتضر 30 ثانيه

و

اذا كان راكب سيارهـ

يقول له انزل من سيارهـ

و شكرا~>

Edited by Guest
Link to comment
getPedOccupiedVehicle -- يتحقق اذا راكب سياره او لا  
setElementData -- عشان اذا كتب الكلمه وعاد كتابتها  
getElementData -- يتحقق اذا الاعب كان كاتب الكلمه من قبل ام لا  
setTimer -- وقت  
outputChatBox -- عشان يطلع كلام بشات  

Link to comment
ممكن مثال

اما ماتعرف ؟

تطلب اكواد وتعديل

.

القهر مو في ذا

القهر لما اشوف في سيرفرك مودات خيااس

وبفلوس 、 ~ _~ 、

كود كنق حق السيارات حاطه والي يبي سيارة ففيها اغاني بفلوس ~-~

Link to comment
ممكن مثال

اما ماتعرف ؟

تطلب اكواد وتعديل

.

القهر مو في ذا

القهر لما اشوف في سيرفرك مودات خيااس

وبفلوس 、 ~ _~ 、

كود كنق حق السيارات حاطه والي يبي سيارة ففيها اغاني بفلوس ~-~

لا داعي لكل هذه هو حر انت مالك ؟

Link to comment

local Timer = {} 
  
addEventHandler ( "onPlayerChat", root, function ( msg, msgType ) 
        if ( msg == "الدائري" and msgType == 0 ) then 
         if isPedInVehicle ( source ) then return outputChatBox( "** اخرج من السيارة اولأ", source, math.random(255), math.random(255), math.random(255), true ) end 
           if isTimer( Timer[ source ] ) then return outputChatBox( "** انتظر 30 ثانية", source, math.random(255), math.random(255), math.random(255), true ) end 
            Timer[ source ] = setTimer( function( ) end, 30000, 1 ) 
            setElementPosition ( source, 1016.4785766602, -4957.4384765625, 1642.9499511719 ) 
            outputChatBox( "تم نقلكـ لـ الدائري", source, math.random(255), math.random(255), math.random(255), true ) 
         end 
end ) 
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...