addEventHandler ( "onPlayerChat",root, 
    function ( msg, msgType )  
          if ( msg == "سنايبر" and msgType == 0 ) then 
                   giveWeapon ( source ,  34,700 )  
                  setPedWeaponSlot(source, getSlotFromWeapon(8)) 
                setElementPosition (source, 285.51910,180.50182,1007.17944) 
          outputChatBox("|[ انت الان ف حرب السنايبرات ]|",source,255,255,0,true) 
        end 
    end 
)