add money to player: <Var/Number>

This forum serves as MSCI Reference at EGOSOFT. It's Read-Only for non MSCI Group members.

Moderators: Scripting / Modding Moderators, MSCI Moderators

mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

add money to player: <Var/Number>

Post by mark_a_condren » Tue, 16. Nov 10, 16:54

add money to player: <Var/Number>


<Var/Number> = The amount of credits you wish to add to, or remove from, the Players account.


This command is used to add or remove credit to/from the players general credit account. By specifing a positive number credits will be added to the account. However, specifing a negitive number will remove credits from the player account.


Examples:

$amount = 1234

add money to player: $amount

This will add the amount of 1234cr to the players account.

--------------------------------

$amount = 1234

$remove.amount = - $amount

add money to player: $remove.amount

This will remove the amount of 1234cr from the players account.


Command Location:

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24969
Joined: Sun, 2. Apr 06, 16:38
x4

[TiP][49] 291452

Post by X2-Illuminatus » Wed, 29. Dec 10, 17:26

add money to player: <Var/Number>


<Var/Number> = Die Anzahl an Credits, die du dem Spielerkonto hinzufügen oder davon abziehen möchtest.


Dieser Befehl fügt oder entfernt Credits zum / vom Spielerkonto. Mit der Eingabe einer positiven Zahl werden Credits hinzugefügt, mit einer negativen Zahl abgezogen.


Beispiele:

$Menge = 1234

add money to player: $Menge

Die wird die Menge von 1234cr zum Spielerkonto hinzufügen.

--------------------------------

$Menge = 1234

$entferne.Menge = - $Menge

add money to player: $entferne.Menge

Dies wird eine Menge von 1234cr vom Spielerkonto entfernen.


Zu finden unter:

Return to “MSCI Reference”