Jump to content

شباب


Recommended Posts

سيرفر

  
  
addEvent("Blow",true) 
addEventHandler("onBlow",root, 
    function (player) 
        local player = getPlayerFromName(player) 
        local veh = getPedOccupiedVehicle(player) 
        blowVehicle(veh) 
        outputChatBox("*  The Player Vehicle Successfuly Blowed",source,0,255,0) 
        outputChatBox("*  Your Vehicle Blow By " .. getPlayerName(source),player,255,0,0) 
    end 
) 
  
  
  

كلينت

  
  
elseif ( source == GUIEditor_Button[1] ) then 
            if ( sel ~= -1 ) then 
                local player = getPlayerFromName(text) 
                if isPedInVehicle(player) then 
                    triggerServerEvent("Blow",localPlayer,text) 
                else 
                    show("This Player Don't Have Vehicle") 
                end 
            else 
                show("Please Choose Player To Blow His Vehicle") 
            end 
        end 
    end 
) 
  

Link to comment
سيرفر
  
  
addEvent("Blow",true) 
addEventHandler("onBlow",root, 
    function (player) 
        local player = getPlayerFromName(player) 
        local veh = getPedOccupiedVehicle(player) 
        blowVehicle(veh) 
        outputChatBox("*  The Player Vehicle Successfuly Blowed",source,0,255,0) 
        outputChatBox("*  Your Vehicle Blow By " .. getPlayerName(source),player,255,0,0) 
    end 
) 
  
  
  

كلينت

  
  
elseif ( source == GUIEditor_Button[1] ) then 
            if ( sel ~= -1 ) then 
                local player = getPlayerFromName(text) 
                if isPedInVehicle(player) then 
                    triggerServerEvent("Blow",localPlayer,text) 
                else 
                    show("This Player Don't Have Vehicle") 
                end 
            else 
                show("Please Choose Player To Blow His Vehicle") 
            end 
        end 
    end 
) 
  

وين

function 

+

وين

addEventHandler("onClientGUIClick",root, 

كودك غلط

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