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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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