Jump to content

تصحيح كود


Gomez10

Recommended Posts

ابي تصححو لي كود

اذا كتب امر يصلح سياره ويعطي درع لمده

local Timer = { } 
  
addCommandHandler( "cf", function( player ) 
  if ( isTimer( Timer[ player ] ) ) then return end 
      setPedArmor ( player, 100 ) 
      Timer[ player ] = setTimer( setPedArmor, 180000, 1, player, 0 ) 
 local theVehicle = getPedOccupiedVehicle ( thePlayer ) 
fixVehicle ( player ) 
end ) 

لو كود هريسه .. انا مبتدى

وما حد بدا باحتراف

Link to comment

local Timer = { } 
  
addCommandHandler( "cf", function( player ) 
  if ( isTimer( Timer[ player ] ) ) then return end 
      setPedArmor ( player, 100 ) 
      Timer[ player ] = setTimer( setPedArmor, 180000, 1, player, 0 ) 
        if ( getPedOccupiedVehicle ( player ) ) then 
             fixVehicle ( getPedOccupiedVehicle ( player ) ) 
         end 
end ) 
Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...