Метод | Описание | |
---|---|---|
ClientColorPrint ( this player, SpecialColor specialColor, string text ) : void |
Prints some colored text in the chat (yellow, green, special). You can choose the special color in this Version (A fake teammessage is send to the client and afterwards the information is restored).
|
|
ClientColorPrint ( this player, string text ) : void |
Prints some colored text in the chat (yellow, green, special). Special is the teamcolor (White for Spectator, Red for Terrorist, Blue for CounterTerrorist)
|
|
GetActiveWeapon ( this player ) : |
Get's the Entity of the Weapon weared right now by they player
|
|
GetAmmo ( this player, WeaponAmmo ammoType ) : int |
Gets the ammount of ammo the player carries around.
|
|
GetArmorType ( this player ) : ArmorType | ||
GetArmorTypeID ( this player ) : int | ||
GetDeaths ( this player ) : int |
Gets the deathcount of a player
|
|
GetDefaultScoreBoardAttribute ( this player ) : ScoreAttribute | ||
GetInternalMode ( this player ) : InternalModels | ||
GetMapzoneRaw ( this player ) : int | ||
GetMoney ( this player ) : int |
Gets the amount of money a player posesses The actual server side value is returned.
|
|
GetTeamColor ( this player ) : SpecialColor | ||
GetTeamEnum ( this player ) : Team | ||
GetTeamID ( this player ) : int | ||
GetTeamString ( this player ) : string | ||
GetVIP ( this player ) : bool | ||
IsInBuyzone ( this player ) : bool | ||
MakeVIP ( this player, bool updateModel, bool updateScoreboard ) : void | ||
SendAmmo ( this player, WeaponAmmo ammoType, byte ammount ) : void | ||
SendAmmo ( this player, WeaponAmmo ammoType, int ammount ) : void | ||
SendMoneyMessage ( this player, int money, bool flash ) : void |
Sends a message to the player in order to update the HUD for the money. Only client side is udpated.
|
|
SendTeamInfoMessage ( this player, Player playerTeamChange, Team team ) : void | ||
SendTeamInfoMessage ( this player, Team team ) : void | ||
SendWeaponPickupMessage ( this player, Weapons weapon ) : void | ||
SetAmmo ( this player, WeaponAmmo ammoType, int ammount ) : void |
Sets the "backpack" ammo ammount, the ammo the players carries around.
|
|
SetArmorType ( this player, ArmorType armorType ) : void | ||
SetArmorType ( this player, int armorType ) : void | ||
SetDeaths ( this player, int val ) : void |
Sets the deathcount of a player
|
|
SetInternalMode ( this player, InternalModels model ) : void | ||
SetMapzoneRaw ( this player, int mapzone ) : void | ||
SetMoney ( this player, int money ) : void |
Sets the amount of money a player posesses. Only server side is updated.
|
|
SetMoney ( this player, int money, bool flash ) : void |
Sets the player money and sends a message to the player to update Both client and server side.
|
|
SetVIP ( this player, bool value ) : void | ||
SetVIP ( this player, bool value, bool updateModel, bool updateScoreBoard ) : void | ||
SetWeaponAnimation ( this player, WeaponAnimations animation ) : void | ||
UnmakeVIP ( this player, bool updateModel, bool updateScoreboard, InternalModels newModel ) : void |
public static ClientColorPrint ( this player, SpecialColor specialColor, string text ) : void | ||
player | this |
/// A player |
specialColor | SpecialColor |
/// The SpecialColor you want to send |
text | string |
/// The text you want to send, you can use C#-style arguments like {0} |
Результат | void |
public static ClientColorPrint ( this player, string text ) : void | ||
player | this |
/// A player |
text | string |
/// The text to be printed, C#-style arguments like {0} can be used |
Результат | void |
public static GetActiveWeapon ( this player ) : |
||
player | this |
/// The player |
Результат |
public static GetAmmo ( this player, WeaponAmmo ammoType ) : int | ||
player | this |
/// The player |
ammoType | WeaponAmmo |
/// The ammo type |
Результат | int |
public static GetArmorType ( this player ) : ArmorType | ||
player | this | |
Результат | ArmorType |
public static GetArmorTypeID ( this player ) : int | ||
player | this | |
Результат | int |
public static GetDeaths ( this player ) : int | ||
player | this |
/// A player |
Результат | int |
public static GetDefaultScoreBoardAttribute ( this player ) : ScoreAttribute | ||
player | this | |
Результат | ScoreAttribute |
public static GetInternalMode ( this player ) : InternalModels | ||
player | this | |
Результат | InternalModels |
public static GetMapzoneRaw ( this player ) : int | ||
player | this | |
Результат | int |
public static GetMoney ( this player ) : int | ||
player | this |
/// Player |
Результат | int |
public static GetTeamColor ( this player ) : SpecialColor | ||
player | this | |
Результат | SpecialColor |
public static GetTeamEnum ( this player ) : Team | ||
player | this | |
Результат | Team |
public static GetTeamID ( this player ) : int | ||
player | this | |
Результат | int |
public static GetTeamString ( this player ) : string | ||
player | this | |
Результат | string |
public static GetVIP ( this player ) : bool | ||
player | this | |
Результат | bool |
public static IsInBuyzone ( this player ) : bool | ||
player | this | |
Результат | bool |
public static MakeVIP ( this player, bool updateModel, bool updateScoreboard ) : void | ||
player | this | |
updateModel | bool | |
updateScoreboard | bool | |
Результат | void |
public static SendAmmo ( this player, WeaponAmmo ammoType, byte ammount ) : void | ||
player | this | |
ammoType | WeaponAmmo | |
ammount | byte | |
Результат | void |
public static SendAmmo ( this player, WeaponAmmo ammoType, int ammount ) : void | ||
player | this | |
ammoType | WeaponAmmo | |
ammount | int | |
Результат | void |
public static SendMoneyMessage ( this player, int money, bool flash ) : void | ||
player | this |
/// The player |
money | int |
/// The new amount of money the player shoud posess |
flash | bool |
/// Enables/disables a flash of the money icon in the HUD |
Результат | void |
public static SendTeamInfoMessage ( this player, Player playerTeamChange, Team team ) : void | ||
player | this | |
playerTeamChange | Player | |
team | Team | |
Результат | void |
public static SendTeamInfoMessage ( this player, Team team ) : void | ||
player | this | |
team | Team | |
Результат | void |
public static SendWeaponPickupMessage ( this player, Weapons weapon ) : void | ||
player | this | |
weapon | Weapons | |
Результат | void |
public static SetAmmo ( this player, WeaponAmmo ammoType, int ammount ) : void | ||
player | this |
/// the player |
ammoType | WeaponAmmo |
/// The weaponammo type |
ammount | int | |
Результат | void |
public static SetArmorType ( this player, ArmorType armorType ) : void | ||
player | this | |
armorType | ArmorType | |
Результат | void |
public static SetArmorType ( this player, int armorType ) : void | ||
player | this | |
armorType | int | |
Результат | void |
public static SetDeaths ( this player, int val ) : void | ||
player | this |
/// A player |
val | int |
/// The deathcount the player shall have afterwards |
Результат | void |
public static SetInternalMode ( this player, InternalModels model ) : void | ||
player | this | |
model | InternalModels | |
Результат | void |
public static SetMapzoneRaw ( this player, int mapzone ) : void | ||
player | this | |
mapzone | int | |
Результат | void |
public static SetMoney ( this player, int money ) : void | ||
player | this |
/// The player |
money | int |
/// The amount of money |
Результат | void |
public static SetMoney ( this player, int money, bool flash ) : void | ||
player | this |
/// The player |
money | int |
/// The amount of money the player will posess afterwards |
flash | bool |
/// Wether to make the HUD flash(True) or not(False) |
Результат | void |
public static SetVIP ( this player, bool value ) : void | ||
player | this | |
value | bool | |
Результат | void |
public static SetVIP ( this player, bool value, bool updateModel, bool updateScoreBoard ) : void | ||
player | this | |
value | bool | |
updateModel | bool | |
updateScoreBoard | bool | |
Результат | void |
public static SetWeaponAnimation ( this player, WeaponAnimations animation ) : void | ||
player | this | |
animation | WeaponAnimations | |
Результат | void |
public static UnmakeVIP ( this player, bool updateModel, bool updateScoreboard, InternalModels newModel ) : void | ||
player | this | |
updateModel | bool | |
updateScoreboard | bool | |
newModel | InternalModels | |
Результат | void |