16.04.2012, 16:41
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
but i get this :
Thank You in advance
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); |
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 |