Nur das ich ja immer mit Puppen spielen muß ... normalerweise spiel ich nur mit "der großen Puppe"

Ach, ich bin nicht böse, ist ja nur ein Vorschlag.
Und wenn es dir nur hilft deine Scriptekenntnisse zu erweitern...ich lern hier auch nie aus.
Moderators: Scripting / Modding Moderators, Moderatoren für Deutsches X-Forum
Code: Select all
170 $pmoney = get player money
171 inc $invoice =
172
173 * Player has not enough money
174
175 if $pmoney < $tco
176 $loan = $loan + $tco
177 $loan = $loan / 100 * 105
178 $installment = $pmoney / 100 * 30
179 $loan = $loan - $installment
180 ==> $installment = $installment * -1
181 ==> add money to player: $installment
182 $instalmentpositiv = $installment * -1
183 $message = sprintf: pageid=4501 textid=80, $invoice, $tco, $tabletext, $loan, $instalmentpositiv
184 send incoming message $message to player: display it=[FALSE]
185 inc $reminder =
186
187 * Player has enough money
188
189 else if $pmoney > $tco + $loan
190 $loanrest = $loan
191 ==> $cost = ( $tco + $loan ) * -1
192 ==> add money to player: $cost
193 if $loan > 0
194 $message = sprintf: pageid=4501 textid=90, $invoice, $tco, $tabletext, $loanrest, null
195 send incoming message $message to player: display it=[FALSE]
196 else
197 $message = sprintf: pageid=4501 textid=70, $invoice, $tco, $tabletext, null, null
198 send incoming message $message to player: display it=[FALSE]
199 end
200 $loan = 0
201 $reminder = 0
202
203 * even enough money
204
205 else
206 ==> $cost = $tco * -1
207 ==> add money to player: $cost
208 $pmoney = get player money
209 $loan = $loan / 100 * 105
210 $installment = $pmoney / 100 * 30
211 $loan = $loan - $installment
212 $installment = $installment * -1
213 add money to player: $installment
214 $instalmentpositiv = $installment * -1
215 $message = sprintf: pageid=4501 textid=60, $invoice, $tco, $tabletext, $instalmentpositiv, $loan
216 send incoming message $message to player: display it=[FALSE]
217 inc $reminder =
218 end
Ähm, mal ne ganz dämliche Frage: Was hat das jetzt damit zu tun, das dieses Skript unter XTM wohl nicht mehr läuft?grunchris wrote:Mit Script-Installer 2.0 wird das PAckfromat nicht mehr unterstützt. Hatte das Problem auch mit dem TerraCorp-Script. Ich vermute das betrifft noch einige andere Scripte.
Gruss