Jump to content

طلب كود في سرع وقت


Recommended Posts

ابي اسوي تايمر للمركر لكن كيف 

دا فكشني وين خطأ

addEvent("Rob",true)
addEventHandler("Rob",root,
setTimer(function ()
setPedAnimation(source,"SHOP","ROB_Loop_Threat")
setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
setTimer(setPedFrozen,3000,1,source,true)
setTimer(setPedFrozen,8500,1,source,false)
setTimer(setPedAnimation,4000,1,source,false)
setTimer(givePlayerMoney,5000,1,source, 6000 )
setTimer(givePlayerMoney,5500,1,source, 6000 )
setTimer(givePlayerMoney,6000,1,source, 6000 )
setTimer(givePlayerMoney,6500,1,source, 6000 )
setTimer(givePlayerMoney,7000,1,source, 6000 )
setTimer(givePlayerMoney,7500,1,source, 6000 )
setTimer(givePlayerMoney,8000,1,source, 6000 )
setTimer(givePlayerMoney,8500,1,source, 6000 )
setTimer(setPedAnimation,8500,1,ped,false)
cancelEvent()
setPlayerWantedLevel(source,6)

end,1000)

 

Edited by mr.pop
Link to comment
5 minutes ago, mr.pop said:

ابي اسوي تايمر للمركر لكن كيف 

دا فكشني وين خطأ


addEvent("Rob",true)
addEventHandler("Rob",root,
setTimet(function ()
setPedAnimation(source,"SHOP","ROB_Loop_Threat")
setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
setTimer(setPedFrozen,3000,1,source,true)
setTimer(setPedFrozen,8500,1,source,false)
setTimer(setPedAnimation,4000,1,source,false)
setTimer(givePlayerMoney,5000,1,source, 6000 )
setTimer(givePlayerMoney,5500,1,source, 6000 )
setTimer(givePlayerMoney,6000,1,source, 6000 )
setTimer(givePlayerMoney,6500,1,source, 6000 )
setTimer(givePlayerMoney,7000,1,source, 6000 )
setTimer(givePlayerMoney,7500,1,source, 6000 )
setTimer(givePlayerMoney,8000,1,source, 6000 )
setTimer(givePlayerMoney,8500,1,source, 6000 )
setTimer(setPedAnimation,8500,1,ped,false)
cancelEvent()
setPlayerWantedLevel(source,6)

end,1000)

 

انت حاطط setTimet 
بدل ال t بـ r

Link to comment
On 15/06/2017 at 01:13, MR.StoRm said:

انت حاطط setTimet 
بدل ال t بـ r

مشتغلت 

بدي لم يدخل يسرق تخلص السرقة متضهرو لوحة ولم يجي وقت بعد مدة يضهر ويقدر يسرق

يدخل للمركر

Link to comment
addEvent("Rob",true)
addEventHandler("Rob",root,
setTimer(function ()
setPedAnimation(source,"SHOP","ROB_Loop_Threat")
setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
setTimer(setPedFrozen,3000,1,source,true)
setTimer(setPedFrozen,8500,1,source,false)
setTimer(setPedAnimation,4000,1,source,false)
setTimer(givePlayerMoney,5000,1,source, 6000 )
setTimer(givePlayerMoney,5500,1,source, 6000 )
setTimer(givePlayerMoney,6000,1,source, 6000 )
setTimer(givePlayerMoney,6500,1,source, 6000 )
setTimer(givePlayerMoney,7000,1,source, 6000 )
setTimer(givePlayerMoney,7500,1,source, 6000 )
setTimer(givePlayerMoney,8000,1,source, 6000 )
setTimer(givePlayerMoney,8500,1,source, 6000 )
setTimer(setPedAnimation,8500,1,ped,false)
setPlayerWantedLevel(source,6)
end,1000,1)
end
end )

^ اذا فيه خطأ اطرح الديبق

Link to comment
addEvent("Rob",true)
addEventHandler("Rob",root,
function ( )
setTimer(function ()
setPedAnimation(source,"SHOP","ROB_Loop_Threat")
setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
setTimer(setPedFrozen,3000,1,source,true)
setTimer(setPedFrozen,8500,1,source,false)
setTimer(setPedAnimation,4000,1,source,false)
setTimer(givePlayerMoney,5000,1,source, 6000 )
setTimer(givePlayerMoney,5500,1,source, 6000 )
setTimer(givePlayerMoney,6000,1,source, 6000 )
setTimer(givePlayerMoney,6500,1,source, 6000 )
setTimer(givePlayerMoney,7000,1,source, 6000 )
setTimer(givePlayerMoney,7500,1,source, 6000 )
setTimer(givePlayerMoney,8000,1,source, 6000 )
setTimer(givePlayerMoney,8500,1,source, 6000 )
setTimer(setPedAnimation,8500,1,ped,false)
cancelEvent()
setPlayerWantedLevel(source,6)

end,1000, 1)
end 
)

 

Edited by #_iMr.[E]coo
Link to comment
On 15/06/2017 at 01:22, #_iMr.[E]coo said:

addEvent("Rob",true)
addEventHandler("Rob",root,
function ( )
setTimer(function ()
setPedAnimation(source,"SHOP","ROB_Loop_Threat")
setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
setTimer(setPedFrozen,3000,1,source,true)
setTimer(setPedFrozen,8500,1,source,false)
setTimer(setPedAnimation,4000,1,source,false)
setTimer(givePlayerMoney,5000,1,source, 6000 )
setTimer(givePlayerMoney,5500,1,source, 6000 )
setTimer(givePlayerMoney,6000,1,source, 6000 )
setTimer(givePlayerMoney,6500,1,source, 6000 )
setTimer(givePlayerMoney,7000,1,source, 6000 )
setTimer(givePlayerMoney,7500,1,source, 6000 )
setTimer(givePlayerMoney,8000,1,source, 6000 )
setTimer(givePlayerMoney,8500,1,source, 6000 )
setTimer(setPedAnimation,8500,1,ped,false)
cancelEvent()
setPlayerWantedLevel(source,6)

end,1000)
end 
)

 

دا الكود حق ميقدر يستعل الزر لزم حتى تبدأ

وين بحط outChat

Edited by mr.pop
Link to comment
3 minutes ago, iMr.WiFi..! said:

addEvent("Rob",true)
addEventHandler("Rob",root,
setTimer(function ()
setPedAnimation(source,"SHOP","ROB_Loop_Threat")
setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
setTimer(setPedFrozen,3000,1,source,true)
setTimer(setPedFrozen,8500,1,source,false)
setTimer(setPedAnimation,4000,1,source,false)
setTimer(givePlayerMoney,5000,1,source, 6000 )
setTimer(givePlayerMoney,5500,1,source, 6000 )
setTimer(givePlayerMoney,6000,1,source, 6000 )
setTimer(givePlayerMoney,6500,1,source, 6000 )
setTimer(givePlayerMoney,7000,1,source, 6000 )
setTimer(givePlayerMoney,7500,1,source, 6000 )
setTimer(givePlayerMoney,8000,1,source, 6000 )
setTimer(givePlayerMoney,8500,1,source, 6000 )
setTimer(setPedAnimation,8500,1,ped,false)
setPlayerWantedLevel(source,6)
end,1000,1)
end
end )

^ اذا فيه خطأ اطرح الديبق

عندك 2 إيند زيآدة =_=

Link to comment
2 minutes ago, MR.StoRm said:

عندك 2 إيند زيآدة =_=

 
addEvent("Rob",true)
addEventHandler("Rob",root,
function () 
setTimer(function ()
setPedAnimation(source,"SHOP","ROB_Loop_Threat")
setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
setTimer(setPedFrozen,3000,1,source,true)
setTimer(setPedFrozen,8500,1,source,false)
setTimer(setPedAnimation,4000,1,source,false)
setTimer(givePlayerMoney,5000,1,source, 6000 )
setTimer(givePlayerMoney,5500,1,source, 6000 )
setTimer(givePlayerMoney,6000,1,source, 6000 )
setTimer(givePlayerMoney,6500,1,source, 6000 )
setTimer(givePlayerMoney,7000,1,source, 6000 )
setTimer(givePlayerMoney,7500,1,source, 6000 )
setTimer(givePlayerMoney,8000,1,source, 6000 )
setTimer(givePlayerMoney,8500,1,source, 6000 )
setTimer(setPedAnimation,8500,1,ped,false)
setPlayerWantedLevel(source,6)
end,1000,1)
end )

^ ي حبيب قلبي .. هو ماقفل الحدث ولا حط الفنكشن ذ

Edited by iMr.WiFi..!
Link to comment
Just now, mr.pop said:

دا الكود حق ميقدر لزم حتى تبدأ

وين بحط outChat

مستحيل م تعرف وين تحط اخراج نص بالشات

المهم زبط الكود  ؟ عدلته ^

Just now, iMr.WiFi..! said:

 
addEvent("Rob",true)
addEventHandler("Rob",root,
function () 
setTimer(function ()
setPedAnimation(source,"SHOP","ROB_Loop_Threat")
setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
setTimer(setPedFrozen,3000,1,source,true)
setTimer(setPedFrozen,8500,1,source,false)
setTimer(setPedAnimation,4000,1,source,false)
setTimer(givePlayerMoney,5000,1,source, 6000 )
setTimer(givePlayerMoney,5500,1,source, 6000 )
setTimer(givePlayerMoney,6000,1,source, 6000 )
setTimer(givePlayerMoney,6500,1,source, 6000 )
setTimer(givePlayerMoney,7000,1,source, 6000 )
setTimer(givePlayerMoney,7500,1,source, 6000 )
setTimer(givePlayerMoney,8000,1,source, 6000 )
setTimer(givePlayerMoney,8500,1,source, 6000 )
setTimer(setPedAnimation,8500,1,ped,false)
setPlayerWantedLevel(source,6)
end,1000,1)
end
end )

^ ي حبيب قلبي .. هو ماقفل الحدث ولا حط الفنكشن ذ

صححته فوق +_+ 

+ عند اند زايدة

Link to comment
Just now, iMr.WiFi..! said:

 
addEvent("Rob",true)
addEventHandler("Rob",root,
function () 
setTimer(function ()
setPedAnimation(source,"SHOP","ROB_Loop_Threat")
setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
setTimer(setPedFrozen,3000,1,source,true)
setTimer(setPedFrozen,8500,1,source,false)
setTimer(setPedAnimation,4000,1,source,false)
setTimer(givePlayerMoney,5000,1,source, 6000 )
setTimer(givePlayerMoney,5500,1,source, 6000 )
setTimer(givePlayerMoney,6000,1,source, 6000 )
setTimer(givePlayerMoney,6500,1,source, 6000 )
setTimer(givePlayerMoney,7000,1,source, 6000 )
setTimer(givePlayerMoney,7500,1,source, 6000 )
setTimer(givePlayerMoney,8000,1,source, 6000 )
setTimer(givePlayerMoney,8500,1,source, 6000 )
setTimer(setPedAnimation,8500,1,ped,false)
setPlayerWantedLevel(source,6)
end,1000,1)
end
end )

^ ي حبيب قلبي .. هو ماقفل الحدث ولا حط الفنكشن ذ

انت ما كنت حاط فوق الفنكشن وبرضو ذا الكود فيه اند زيادة

Link to comment
addEvent("Rob",true)
addEventHandler("Rob",root,
setTimer(function ()
setPedAnimation(source,"SHOP","ROB_Loop_Threat")
setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
setTimer(setPedFrozen,3000,1,source,true)
setTimer(setPedFrozen,8500,1,source,false)
setTimer(setPedAnimation,4000,1,source,false)
setTimer(givePlayerMoney,5000,1,source, 6000 )
setTimer(givePlayerMoney,5500,1,source, 6000 )
setTimer(givePlayerMoney,6000,1,source, 6000 )
setTimer(givePlayerMoney,6500,1,source, 6000 )
setTimer(givePlayerMoney,7000,1,source, 6000 )
setTimer(givePlayerMoney,7500,1,source, 6000 )
setTimer(givePlayerMoney,8000,1,source, 6000 )
setTimer(givePlayerMoney,8500,1,source, 6000 )
setTimer(setPedAnimation,8500,1,ped,false)
setPlayerWantedLevel(source,6)
end,1000,1)
)

منجح في مشكل

Link to comment
Just now, mr.pop said:

addEvent("Rob",true)addEventHandler("Rob",root,setTimer(function ()setPedAnimation(source,"SHOP","ROB_Loop_Threat")setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")setTimer(setPedFrozen,3000,1,source,true)setTimer(setPedFrozen,8500,1,source,false)setTimer(setPedAnimation,4000,1,source,false)setTimer(givePlayerMoney,5000,1,source, 6000 )setTimer(givePlayerMoney,5500,1,source, 6000 )setTimer(givePlayerMoney,6000,1,source, 6000 )setTimer(givePlayerMoney,6500,1,source, 6000 )setTimer(givePlayerMoney,7000,1,source, 6000 )setTimer(givePlayerMoney,7500,1,source, 6000 )setTimer(givePlayerMoney,8000,1,source, 6000 )setTimer(givePlayerMoney,8500,1,source, 6000 )setTimer(setPedAnimation,8500,1,ped,false)setPlayerWantedLevel(source,6)end,1000,1))

منجح في مشكل

صححته فوق , ولا ما شفت التصحيح ؟

Link to comment

جا على كل 

  1. setPedAnimation(source,"SHOP","ROB_Loop_Threat")
  2. setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
  3. setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
  4. setTimer(setPedFrozen,3000,1,source,true)
  5. setTimer(setPedFrozen,8500,1,source,false)
  6. setTimer(setPedAnimation,4000,1,source,false)
  7. setTimer(givePlayerMoney,5000,1,source, 6000 )
  8. setTimer(givePlayerMoney,5500,1,source, 6000 )
  9. setTimer(givePlayerMoney,6000,1,source, 6000 )
  10. setTimer(givePlayerMoney,6500,1,source, 6000 )
  11. setTimer(givePlayerMoney,7000,1,source, 6000 )
  12. setTimer(givePlayerMoney,7500,1,source, 6000 )
  13. setTimer(givePlayerMoney,8000,1,source, 6000 )
  14. setTimer(givePlayerMoney,8500,1,source, 6000 )
  15. setTimer(setPedAnimation,8500,1,ped,false)
  16. ----- جا على الكل ورنيج WARNING
Link to comment
Just now, mr.pop said:

جا على كل 

  1. setPedAnimation(source,"SHOP","ROB_Loop_Threat")
  2. setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
  3. setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
  4. setTimer(setPedFrozen,3000,1,source,true)
  5. setTimer(setPedFrozen,8500,1,source,false)
  6. setTimer(setPedAnimation,4000,1,source,false)
  7. setTimer(givePlayerMoney,5000,1,source, 6000 )
  8. setTimer(givePlayerMoney,5500,1,source, 6000 )
  9. setTimer(givePlayerMoney,6000,1,source, 6000 )
  10. setTimer(givePlayerMoney,6500,1,source, 6000 )
  11. setTimer(givePlayerMoney,7000,1,source, 6000 )
  12. setTimer(givePlayerMoney,7500,1,source, 6000 )
  13. setTimer(givePlayerMoney,8000,1,source, 6000 )
  14. setTimer(givePlayerMoney,8500,1,source, 6000 )
  15. setTimer(setPedAnimation,8500,1,ped,false)
  16. ----- جا على الكل ورنيج WARNING

صورة او اكتبه لنا وهاته ,!

Link to comment
46 minutes ago, mr.pop said:

ابي اسوي تايمر للمركر لكن كيف 

دا فكشني وين خطأ


addEvent("Rob",true)
addEventHandler("Rob",root,
setTimer(function ()
setPedAnimation(source,"SHOP","ROB_Loop_Threat")
setTimer(setPedAnimation,3000,1,ped,"SHOP","SHP_Rob_HandsUp")
setTimer(setPedAnimation,3500,1,ped,"SHOP","SHP_Rob_GiveCash")
setTimer(setPedFrozen,3000,1,source,true)
setTimer(setPedFrozen,8500,1,source,false)
setTimer(setPedAnimation,4000,1,source,false)
setTimer(givePlayerMoney,5000,1,source, 6000 )
setTimer(givePlayerMoney,5500,1,source, 6000 )
setTimer(givePlayerMoney,6000,1,source, 6000 )
setTimer(givePlayerMoney,6500,1,source, 6000 )
setTimer(givePlayerMoney,7000,1,source, 6000 )
setTimer(givePlayerMoney,7500,1,source, 6000 )
setTimer(givePlayerMoney,8000,1,source, 6000 )
setTimer(givePlayerMoney,8500,1,source, 6000 )
setTimer(setPedAnimation,8500,1,ped,false)
cancelEvent()
setPlayerWantedLevel(source,6)

end,1000)

 

ضيف السطر ذا بعد الفنكشن

local source=source

 

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