
#Al-Ha[J]aRii
Members-
Posts
482 -
Joined
-
Last visited
Everything posted by #Al-Ha[J]aRii
-
أنت قصدك لو في القريد لست --------------- البداية الدائري شارع النخيل ----------------- تضغط على البداية يوديك الماتركس مال البداية و الدائري يوديك ......... مال الدائري ؟
-
هو قال قيم يمكن قصده رقم ذذ
-
اعتقد طلبك الاول guiGetText tonumber
-
https://community.multitheftauto.com/index.php?p=resources&s=details&id=5520 Original : https://community.multitheftauto.com/index.php?p=resources&s=details&id=1201 Edit : Stolen : https://community.multitheftauto.com/index.php?p=resources&s=details&id=7484 Stolen :https://community.multitheftauto.com/index.php?p=resources&s=details&id=7475 DONE!
-
nice thank you :--)
-
انجليزي + Language :
-
L > lua
-
ناقص قوس للوظيفة : outputChatBox و انا عرفت بدون برنامج لان من تتعلم ماتحتاجهم
-
toggleControl isPedInVehicle getPedOccupiedVehicle destroyElement createColRectangle "onColShapeHit" "onColShapeLeave" بالتوفيق ..!
-
ناقص قوس و الايفنت غلط
-
وش الكود ذا مافهمته O_o قصدي مادري وين احطه >< هذه مو كود هذه انت تسويه
-
try delet line 15 and is there any error with debugscript 3 ?
-
are you want to do when you come near gate open and when you left gate close ? if that you want your code wil be like this : Server Side : addEventHandler ( "onResourceStart", resourceRoot, function ( ) gate1 = createObject ( 2938, 984.8, 1480.7, 14.6 ) Marker = createMarker ( 2938, 984.8, 1480.7, 14.6, "corona", Size, 0, 0, 255, 0 ) end ) function moveGate(player) local PlayerTeam = getPlayerTeam ( player ) local TeamN = getTeamFromName ( "TeamName" ) if isElementWithinMarker ( player, Marker ) then if PlayerTeam == TeamN then moveObject ( gate1, 2938, 984.8, 1480.7, 16.6 ) end end end addEventHandler("onMarkerHit",Marker, moveGate) function moveBack() moveObject ( gate1, 2938, 984.8, 1480.7, 14.6 ) end addEventHandler("onMarkerLeave",Marker,moveBack) about the replace in code : put size for marker line 4 for the size from player to gate wil open and GoodLuck .
-
i think wil be error why ? because you wil saved data in player account and if player is guest ?? what wil be he didn't wil saved skin . ====================================================================== also i think you don't need when player wasted money and his position . and when player spawn will get data skin from wasted i think you need to use "onPlayerSpawn" so wil be like this : addEventHandler( "onPlayerWasted", getRootElement( ), function ( ) setTimer ( spawnPlayer, 3000, 1, source, 2034, -1414, 16.3 ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) and not isGuestAccount ( playeraccount ) then local skin = getElementModel ( source ) setAccountData ( playeraccount, "skin", skin ) if (playeraccount) and isGuestAccount ( playeraccount ) then return outputChatBox("Sorry . but you are guest you missing save skin . !",source,255,0,0,true) end end ) addEventHandler("onPlayerSpawn",getRootElement( ), function() if ( playeraccount ) then local skin = getAccountData ( playeraccount, "skin" ) if ( skin ) then setElementModel ( source, skin ) else outputChatBox ( "NO SKIN SAVED!", source ) end end )
-
the data wil be when player wasted ??
-
I think he wil need : setCameraTarget
-
any debugscript 3 ?
-
addEventHandler( "onPlayerWasted", getRootElement( ), function ( player ) setTimer ( spawnPlayer, 3000, 1, player, 2034, -1414, 16 ) end )
-
هادى حق اللي يربط بين الكلينت والسيرفر موجود onClientPlayerWasted يعني مايحتاج استخدم فقط dxDrawText addEventHandler "onClientRender" removeEventHandler setTimer
-
يبغي صورة ذذ انتم فهمتوه غلط هو ما عرف يشرح يقول ابي صورة فيها كم خذا فلوس عشان كذا المفروض تيكس اها اجل يستخدم الوظايف الي وضعتهم انت ويه الايفنت onClientRender
-
يبغي صورة ذذ Edit : صح نسيت انها صورة تقدر تنحذف باستخدام destroyElement
-
بامكانه يحول الكود للكيلنت "OnClientPlayerDamage" و يستخدم guiCreateStaticImage -- انشاء صورة setTimer -- انشاء مؤقت destroyElement -- حذف الصورة X guiCreateStaticImage setTimer isTimer killTimer
-
طيب ابيه تجيله الفلوس مثلا قتل واحد جاله 150 ت\لع له صوره 150 guiCreateStaticImage or dxDrawImage