MR:SADIQ Posted June 29, 2013 Share Posted June 29, 2013 ابي اسوي ادا الاعب ددخل منطقة يحسب له دقيقتين وينقله Link to comment
iPrestege Posted June 29, 2013 Share Posted June 29, 2013 createMarker 'onMarkerHit' -- Event setElementPosition setTimer getElementType isPedInVehicle getPedOccupiedVehicle Link to comment
MR:SADIQ Posted June 29, 2013 Author Share Posted June 29, 2013 يصير استخدم SpawnPlayer بدل setElementPosition ؟؟؟؟ Link to comment
iPrestege Posted June 29, 2013 Share Posted June 29, 2013 يصير spawnPlayer < بس بيغير الشخصية ..ألخ Link to comment
MR:SADIQ Posted June 29, 2013 Author Share Posted June 29, 2013 شنو وظايفهم getElementType isPedInVehicle getPedOccupiedVehicle Link to comment
AboShanab Posted June 29, 2013 Share Posted June 29, 2013 marker = createMarker( x,y ,z, "cylinder", size, r, g, b ) addEventHandler("onMarkerHit",marker,function(player) if ( getElementType ( player ) == ( "player" ) and not isPedInVehicle(player) then setTimer(function(player) setElementPosition(player,x,y,z) end,120000,0) end end ) التعديلات : في السطر الاول x,y,z = احداثيات الماركر size = حجم الماركر يمديك تحطه بالارقام مثل 1 2 3 براحتك r,g,b = الالوان حقت الماركر ونفس الحالة براحتك حطها .. وفي السطر 4 x,y,z = الاحداثيات اللي تبي الاعب يروح فيها بعد الدخول بالماركر بعد دقيقتان خخخ .. Link to comment
AboShanab Posted June 29, 2013 Share Posted June 29, 2013 شنو وظايفهم getElementType isPedInVehicle getPedOccupiedVehicle getElementType -- يحدد النوع مثل اذا كان بيد او لاعب او سيارة ... الخ isPedInVehicle -- يتاكد اذا كان الاعب او البيد بالسيارة getPedOccupiedVehicle -- يجيب سيارة الاعب او البيد Link to comment
Mr-Kartha Posted June 29, 2013 Share Posted June 29, 2013 createMarker getMarkerColor getMarkerCount getMarkerIcon getMarkerSize getMarkerTarget getMarkerType isElementWithinMarker setMarkerColor setMarkerIcon setMarkerSize setMarkerTarget setMarkerType Link to comment
AboShanab Posted June 29, 2013 Share Posted June 29, 2013 createMarker getMarkerColor getMarkerCount getMarkerIcon getMarkerSize getMarkerTarget getMarkerType isElementWithinMarker setMarkerColor setMarkerIcon setMarkerSize setMarkerTarget setMarkerType خخخخخخخخخخخخخخ كارثه وش جالس تسوي خخخخخخخخخخخخخخخخخ عطنا كل وضايف الويكي بعد ههههههههههههههههههههههههه اقول سويته له انا Link to comment
PaiN^ Posted June 29, 2013 Share Posted June 29, 2013 setElementPosition مكتوب في الويكي عن Do not use this function to spawn a ped/player Link to comment
AboShanab Posted June 29, 2013 Share Posted June 29, 2013 setElementPosition مكتوب في الويكي عن Do not use this function to spawn a ped/player ي حبيبي يقول لك الويكي اذا تبي تسوي سباون افهم كيف سباون يعني اول ما يخش الاعب سباون للبداية كذا لاكن الكود حقي setElementPosition يغير احداثيات الاعب Link to comment
./BlackBird# Posted June 30, 2013 Share Posted June 30, 2013 هذا setTimer(function(player) setElementPosition(player,x,y,z) end,120000,0) خله كذا setTimer(setElementPosition,120000,0,player,x,y,z) و بسس Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now