Jump to content

xX [ طلب ] Xx


Recommended Posts

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

 

يب اشتغل شكرا

Link to comment
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.

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

 

Link to comment
--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
)

 

Link to comment

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

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

Link to comment
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
)

 

Link to comment
--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
)


 

 

Link to comment
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
)

 

 

 

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