Sign in to follow this  
MR:SADIQ

تمت الافادة من قبل Mr.Pres[T]ege

Recommended Posts

مطلوب شباب كود ماركر ادا تدخل فيه بسيارة تصلح

وسلام عليكم

:mrgreen::mrgreen:

Edited by Guest

Share this post


Link to post

كدا

    marker = createMarker( 2173.8000488281, 1012.5999755859, 10.800000190735, 'cylinder', 0.5, 255, 0, 0, 150 ) 
function showVehicleName ( thePlayer ) 
   local theVehicle = getPedOccupiedVehicle ( thePlayer ) 
   if theVehicle then 
      outputChatBox ( "Name of the Vehicle: " .. getVehicleName ( theVehicle ), thePlayer ) 
   else 
      outputChatBox ( "You do not have a Vehicle!", thePlayer, 255, 0, 0, true ) 
   end 
end 
addCommandHandler ( "getcarname", showVehicleName) 
vehicleKey, vehicleValue in ipairs(vehicles) do 
    -- fix the vehicle 
    fixVehicle ( vehicleValue ) 
end 

Share this post


Link to post

Server Side#,

marker = createMarker ( x,y,z,"cylinder", 2, 255, 255, 0, 225 ) 
addEventHandler("onMarkerHit",marker,  
  function (player) 
    if (getElementType (player) == "player") and isPedInVehicle(player)  then 
fixVehicle(getPedOccupiedVehicle(player))  
outputChatBox("** | Vehicle Fixed | **",player,255,255,0,true) 
             end 
end 
) 

Share this post


Link to post
Server Side#,

marker = createMarker ( x,y,z,"cylinder", 2, 255, 255, 0, 225 ) 
addEventHandler("onMarkerHit",marker,  
  function (player) 
    if (getElementType (player) == "player") and isPedInVehicle(player)  then 
fixVehicle(getPedOccupiedVehicle(player))  
outputChatBox("** | Vehicle Fixed | **",player,255,255,0,true) 
             end 
end 
) 

تسلم عزيزي :)

Share this post


Link to post
Server Side#,

marker = createMarker ( x,y,z,"cylinder", 2, 255, 255, 0, 225 ) 
addEventHandler("onMarkerHit",marker,  
  function (player) 
    if (getElementType (player) == "player") and isPedInVehicle(player)  then 
fixVehicle(getPedOccupiedVehicle(player))  
outputChatBox("** | Vehicle Fixed | **",player,255,255,0,true) 
             end 
end 
) 
event"onMarkerHit" 

---اتوقع انه سيرفر مهو كلنت

Share this post


Link to post

ضااوي اصلا شغال شغال يعني مايحتاج كلنت و لا سيرفر .

Share this post


Link to post
Server Side#,

marker = createMarker ( x,y,z,"cylinder", 2, 255, 255, 0, 225 ) 
addEventHandler("onMarkerHit",marker,  
  function (player) 
    if (getElementType (player) == "player") and isPedInVehicle(player)  then 
fixVehicle(getPedOccupiedVehicle(player))  
outputChatBox("** | Vehicle Fixed | **",player,255,255,0,true) 
             end 
end 
) 
event"onMarkerHit" 

---اتوقع انه سيرفر مهو كلنت

الاكواد كلها كلنت وسيرفر

:wink:

Share this post


Link to post
Server Side#,

marker = createMarker ( x,y,z,"cylinder", 2, 255, 255, 0, 225 ) 
addEventHandler("onMarkerHit",marker,  
  function (player) 
    if (getElementType (player) == "player") and isPedInVehicle(player)  then 
fixVehicle(getPedOccupiedVehicle(player))  
outputChatBox("** | Vehicle Fixed | **",player,255,255,0,true) 
             end 
end 
) 
event"onMarkerHit" 

---اتوقع انه سيرفر مهو كلنت

الاكواد كلها كلنت وسيرفر

؟؟

السيرفر فيه له اكواد خاصه والكلنت اكواد وفيه اكواد تجي للأثنين لونها ازرق

والأحداث فيه مخصصين للكلنت او السيرفر

اتوقع انه المفروض اذا كان يبيه كلنت يستخدم

event"onClientMarkerHit" 

او يحط الكود كله سيرفر

Edited by Guest

Share this post


Link to post
Server Side#,

marker = createMarker ( x,y,z,"cylinder", 2, 255, 255, 0, 225 ) 
addEventHandler("onMarkerHit",marker,  
  function (player) 
    if (getElementType (player) == "player") and isPedInVehicle(player)  then 
fixVehicle(getPedOccupiedVehicle(player))  
outputChatBox("** | Vehicle Fixed | **",player,255,255,0,true) 
             end 
end 
) 

من قال إنه كلنت ؟؟؟؟

Share this post


Link to post
الكود واضح أنة سيرفر -_-

:lol::lol::lol:

آسف مانتبهت لكلمة

Server Side#,

انا كنت فاتح صفحات كثيره

<< اضرآر السهر :roll:

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.