SampSharp
SampSharp
SampSharp.GameMode.SAMP
Server Class
Server Methods
BlockIPAddress Method
ConnectNPC Method
GetConsoleVariable(T) Method
GetServerTickRate Method
GetTickCount Method
GetWeaponName Method
Print Method
SendRconCommand Method
SetWeather Method
SetWorldTime Method
UnBlockIPAddress Method
Server
GetWeaponName Method
Gets the name of the specified weapon.
Namespace:
SampSharp.GameMode.SAMP
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
Copy
public
static
string
GetWeaponName
(
Weapon
weapon
)
Parameters
weapon
Type:
SampSharp.GameMode.Definitions
Weapon
The weapon to get the name of.
Return Value
Type:
String
The name of the weapon.
See Also
Reference
Server Class
SampSharp.GameMode.SAMP Namespace