Business problem
#1

hi again! do anyone know how to script when sobebody enter in a bizz it's owner recive the money setted as fee. This is m code
Quote:

GivePlayerMoney(playerid,-BizzInfo[i][bEntranceCost]);
GivePlayerMoney(BizzInfo[i][bOwner], + BizzInfo[i][bEntranceCost]);
format(string, sizeof(string),"LARP/Users/%s.ini",BizzInfo[i][bOwner]);
new totalcash = dini_Int(string,"Money") + BizzInfo[i][bEntranceCost];
dini_IntSet(string,"Money",totalcash);

but i get this :
Quote:

****(51897) : warning 215: expression has no effect
****(51897) : error 001: expected token: ";", but found ")"
****(51897) : error 029: invalid expression, assumed zero
****(51897) : fatal error 107: too many error messages on one line

Thank You in advance
Reply


Messages In This Thread
Business problem - by Angel.Why - 16.04.2012, 16:41
Re: Business problem - by mamorunl - 16.04.2012, 17:07

Forum Jump:


Users browsing this thread: 1 Guest(s)