Jump to content

xX [ طلب ] Xx


Recommended Posts

Posted

السلام عليكم
ابي فنكشات
اكتب امر في F8
مثلا pos
ينسخ احداثياتي اللي واقف فيها ..
عايز فنكشات وبحاول اعملها انا ?

Posted

تفضل جرب وقولى .. :)

-- Client ..
function Bad_Boy()
local x,y,z = getElementPosition(localPlayer)
setClipboard('' .. x .. ',' .. y .. ',' .. z .. '')
outputChatBox("!! تم نسخ الاحداثيات ", 255, 0, 0, true )
end
addCommandHandler("pos",Bad_Boy)-- هنا الامر حق اف8

 

  • Thanks 1
Posted
Just now, #Bad_Boy, said:

تفضل جرب وقولى .. :)


-- Client ..
function Bad_Boy()
local x,y,z = getElementPosition(localPlayer)
setClipboard('' .. x .. ',' .. y .. ',' .. z .. '')
outputChatBox("!! تم نسخ الاحداثيات ", 255, 0, 0, true )
end
addCommandHandler("pos",Bad_Boy)-- هنا الامر حق اف8

 

يب اشتغل شكرا

Posted
3 minutes ago, #Bad_Boy, said:

حياك الله , العفو

طلب اخير بس مش عايز افتح موضوع تاني
ابي اكتب امر في اف8 ينسخ السريال

Posted
Just now, #Bad_Boy, said:

*


addCommandHandler("سريال",
function ( )
local Serial = getPlayerSerial ( localPlayer )
setClipboard( Serial )
outputChatBox("!! تم نسخ سريالك ", 255, 0, 0, true )
end
)

 

الف شكرررررررررررررررررررررررررررررر

  • Like 1
Posted
3 hours ago, #Bad_Boy, said:

*


addCommandHandler("سريال",
function ( )
local Serial = getPlayerSerial ( localPlayer )
setClipboard( Serial )
outputChatBox("!! تم نسخ سريالك ", 255, 0, 0, true )
end
)

 

Quote

Note: The client side version of getPlayerSerial has been deprecated as it can return the wrong value for some players, and is potentially insecure. The following article assumes that the function is serverside only.

لـ صاحب الموضوع,
إستعمل الترايقر عشان ما يجيك أخطاء .

 

Posted
--Server
addCommandHandler("سريال",
function ( )
local Serial = getPlayerSerial ( source )
triggerClientEvent("Bad_Boy",root,Serial)
end
)
------------------------------------------------
--client 
addEvent( 'Bad_Boy' , true )
addEventHandler( 'Bad_Boy' , root , 
function (Serial)
setClipboard( Serial )
outputChatBox("!! تم نسخ سريالك ", 255, 0, 0, true )
end
)

 

Posted

لو تبي تجيب معلوماته بعدين مثلا شي اضافي عندي لك يوزفل سويته من فترة يمكن يفيدك

فكرته يجبلك معلومات اللاعب مب كلها ولاكن قريب بسوي فيه كم شي جديد

Posted
4 hours ago, #Bad_Boy, said:

--Server
addCommandHandler("سريال",
function ( )
local Serial = getPlayerSerial ( source )
triggerClientEvent("Bad_Boy",root,Serial)
end
)
------------------------------------------------
--client 
addEvent( 'Bad_Boy' , true )
addEventHandler( 'Bad_Boy' , root , 
function (Serial)
setClipboard( Serial )
outputChatBox("!! تم نسخ سريالك ", 255, 0, 0, true )
end
)

 

خطا

source = nil

+

بيتنسخ عند الكل مش الاعب اللي كتب الكوماند فقط

--Server
addCommandHandler("سريال",
function ( player )
local Serial = getPlayerSerial ( player )
triggerClientEvent(player,"Bad_Boy",player,Serial)
end
)
------------------------------------------------
--client 
addEvent( 'Bad_Boy' , true )
addEventHandler( 'Bad_Boy' , root , 
function (Serial)
setClipboard( Serial )
outputChatBox("!! تم نسخ سريالك ", 255, 0, 0, true )
end
)

 

Posted
--Server
addCommandHandler("سريال",
function ( source )
local Serial = getPlayerSerial ( source )
triggerClientEvent(source,"Bad_Boy",source,Serial)
end
)
------------------------------------------------
--client 
addEvent( 'Bad_Boy' , true )
addEventHandler( 'Bad_Boy' , root , 
function (Serial)
setClipboard( Serial )
outputChatBox("!! تم نسخ سريالك ", 255, 0, 0, true )
end
)

 

4 hours ago, #Bad_Boy, said:

--Server
addCommandHandler("سريال",
function ( )
local Serial = getPlayerSerial ( source )
triggerClientEvent("Bad_Boy",root,Serial)
end
)
------------------------------------------------
--client 
addEvent( 'Bad_Boy' , true )
addEventHandler( 'Bad_Boy' , root , 
function (Serial)
setClipboard( Serial )
outputChatBox("!! تم نسخ سريالك ", 255, 0, 0, true )
end
)


 

 

Posted
2 minutes ago, DABL said:

--Server
addCommandHandler("سريال",
function ( source )
local Serial = getPlayerSerial ( source )
triggerClientEvent(source,"Bad_Boy",source,Serial)
end
)
------------------------------------------------
--client 
addEvent( 'Bad_Boy' , true )
addEventHandler( 'Bad_Boy' , root , 
function (Serial)
setClipboard( Serial )
outputChatBox("!! تم نسخ سريالك ", 255, 0, 0, true )
end
)

 

 

 

Posted

- وش فيكم آلكل علي ههههههههههههههههههههههههههههههههههههه

 

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...