Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function bus_info(player)
- if vioGetElementData ( player, "job" ) == "busjob" then
- local pplayer = getPlayerName(player)
- local level = Level[client][1]
- local runden = Level[client][2]
- local vonrunden = math.floor(300*1.2^(Level[client][1]))
- local bonusmarker = math.floor(MoneyForMarker[data[client][1]]*(Level[client][1]^(1/3)+0.5))
- local bonuspedmin = moneyForPed-moneyForPedDif
- local bonuspedmax = moneyForPed+moneyForPedDif
- outputChatBox ( "----------Bus Informationen----------", player, 2, 163, 208 )
- outputChatBox ( "Bus-Level: "..level.."", player, 2, 163, 208 )
- outputChatBox ( "Levelup: "..runden.."/"..vonrunden.."", player, 2, 163, 208 )
- outputChatBox ( "pro Marker: "..bonusmarker.."$", player, 2, 163, 208 )
- outputChatBox ( "pro Ped: "..bonuspedmin.."$-"..bonuspedmax.."$", player, 2, 163, 208 )
- outputChatBox ( "------------------------------------------------", player, 2, 163, 208 )
- end
- end
- addCommandHandler ( "businfo", bus_info )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement