Player onuse
From Fortress Forever Wiki
Jump to navigationJump to search
player_onuse ( player )This callback is called whenever the player presses the USE button. Usagefunction player_onuse( player ) local MyName = player:GetName() -- Says the players name on use. ChatToPlayer(player, "My Name is "..MyName.."!") end Return false to prevent the use from happening. |