Jump to content

الضرب بالعصا


A3kri

Recommended Posts

السلام عليكم ..

رمضان كريم ..

عندي عصا الغولف الي رقمها 2 golfclub

وبغيت لين ضربت إبها شخص player

يصير ..

outputChatBox ( player .. was hit with a goldclub. LOOL, source ) 
  

أتمنى فهمتون عليي

Link to comment
-- Server Side 
  
addEventHandler("onPlayerDamage", root, 
function(attacker, weapon) 
    if attacker and getElementType(attacker) == "player" and weapon == 2 then 
        outputChatBox(getPlayerName(source).." was hit with a goldclub. LOOL", root, 255, 255, 255) 
    end 
end) 

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