Electricity bill
#1

Sotty about my bad english... nto sure that subject is correct
But anyways... im useing LARP GM and tehre i found ebill. So if i set my payday time to 1000 sec and used it with fast /payday command i sawd that in 1000 sec i get -5 dollar of electric bills.
But id like to set it highrt but where i can do it?

I looked for ebill's and that was all i got in scipt:
Код:
				  new ebill = (PlayerInfo[i][pAccount]/10000)*(PlayerInfo[i][pLevel]);
				  //ConsumingMoney[i] = 1;
				  SafeGivePlayerMoney(i, checks);
				  account += checks;
				  if(PlayerInfo[i][pAccount] > 0)
				  {
				  	PlayerInfo[i][pAccount] -= ebill;
				  	SBizzInfo[4][sbTill] += ebill;
					}
					else
					{
					  ebill = 0;
					}
And also one property, but i didnt found there anything what could be common with ebill.
Quote:

903.700012,54.799999,231.399993,1114.099975,1080.9 00024,0,0,0,0,0,0,Kelly_Shard,7 Room Luxury,650000,0,0,5,1,1,0,250,1,4750,418,-1,-1,238,5,25
1421.800048,-

Edit: Fixed some words
Reply
#2

ok, i looked a bit again, but it has nothing common with sbentrance. how should i add it there?
it takes bills only on level
Reply
#3

karkakouse will have pleasure to see this post !!!



POST ON GODFATHER TOPIC
Reply
#4

http://forum.sa-mp.com/index.php?topic=67900.0
Reply
#5

where exactly is that karka... post or what u wants to offer hem
I also almoust have made solution for my efore it gained money on player level, but now i changed it on Bizentrance, but i need to make it so, that it calculates something like this bEntranceCost*pLevel Is it possible to make?
At the moment line looks like this:
Код:
				  new ebill = (PlayerInfo[i][pAccount]/10000)*(SBizzInfo[4][sbEntranceCost]);
Im probaly ending the topic with that question, if il get my result.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)