Jump to content

مطلوب كود


Recommended Posts

Posted

السلام عليكمم ورحم ةالله وبركاته

مطلوب كود

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

label

يكون الكلام يتحرك من اليمين الى اليسار

:)

# Welcome To Server , Q.9

# [ QwaT TeaM ] #

# AJ[R]AM : Skype : lopaz_507

aBo-KaSeR : Skype : lopaz__507

Posted

وضح , قـصدك زي الأإعـلان يجي من اليسار لليمين ويرجع مـرة أخرى ويستمر ؟

Old Nick : MaxUr

,

#Skype : maxurmaxur

BBM : 577287FC

Posted

تقدر تستخدم التايمر او الرندر , الرندر راح يكون سريع ف انصح ب التايمر ..

setTimer 
isTimer -- تتحقق من التايمر اذا تبي توقفه 
killTimer -- تقتل التايمر اذا تبي توقفه 
guiGetPosition 
guiSetPosition 

Sha67 سابقاً

Posted
الله يعطيكم العافيه على الرد

لقيت الكود خلاص :)

من حسن :) كي اس اي

الـعـفو ,

لأإكن لـو تـفيد الأعضاء وتطرح الـكود غيرك بيستفيد #

Old Nick : MaxUr

,

#Skype : maxurmaxur

BBM : 577287FC

Posted
----- كود تحريك الكلام في label 
----- طبعا الكود من الاخ  حسن كي اس اي 
local againStartMove = 100 -- المكان اللي يبدا الكلام يمشي فيه 
local endMove = 400 -- المكان اللي ينتهي الكلام فيه  ويرجع من البدايه 
addEventHandler("onClientRender",root,function() 
    if ( guiGetVisible(YouWindowName) == true ) then --- YouWindowName هنا تحط اسسم النافذه 
        local x,y = guiGetPosition(YouLabelName,false) --- YouLabelName هنا اسم اليبل 
        guiSetPosition(YouLabelName,x + 3,y,false) --- YouLabelName هنا اسم اليبل  ---- رقم x + 3 سرعة الكلام وكذا تبيه تخليه سريع خليه زي ما هو تبيه بطيئ حط رقم واحد او اثنين 
        if ( x >= endMove ) then 
            guiSetPosition(YouLabelName,againStartMove,y,false) --- YouLabelName هنا اسم اليبل 
        end 
    end 
end) 

مشكور

p_22pxyn1.png

Server:Wnash-Time

Ip:mtasa://178.32.127.216:22003

counter.php?i=3200646&c=9602251

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