Jump to content

طلب كود


Recommended Posts

يب ناقصه , الباقي عندي

* Client Side :

addCommandHandler 
Loop : player - عشان يشوفونه الاعبين 
isElementOnScreen ( v ) 
getDistanceBetweenPoints3D 
getPedBonePosition 
getScreenFromWorldPosition 
isLineOfSightClear 
dxDrawText 
Event onClientRender 
dxGetTextWidth 
getElementPosition ( v ) 
getElementPosition ( localPlayer ) 
-- جايب الاكواد من سكربت عندي 

guiGetScreenSize ?

:mrgreen: مايحتاج لانها ماهي نافذه

Link to comment
اكيد شوف الويكي وش يقول بعد

This returns two floats representing the player's screen resolution, width and height.

Using guiGetScreenSize to fit GUI & DX drawing in all resolutions.

- واحد حجم شاشته صغيرة الكلام الي فوق رأس لآعب آخر يجي على قد حجم شاشته اذا ما سويناه على حسب الوظيفة

- Gui الفنكشن هذا يجيب حجم الشاشة طول وعرض وش علاقة الـ

Link to comment
لاحظ :

This returns two floats representing the player's screen resolution, width and height.

Using guiGetScreenSize to fit GUI & DX drawing in all resolutions.

dx و الـ dxDrawText مع الـ dx Drawing :lol:

يخوي أنتم وش فيكم

dxولا بال guiمالها شغل ابداً لا بال

مهمتها فقط تجيب حجم شاشتك فقط :redhotevil:

مثال يوضح كلامي :redhotevil:

addCommandHandler("getScreenSize", function( ) 
    local w, h = guiGetScreenSize( ) 
    outputChatBox("Width :"..w.." Height :"..h) 
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...