protected func Initialize() { // Anfangsgeldwert value=GetWealth(GetOwner()); if(Local(CheckTeam(GetOwner()), FindObject(TACC))) value = Local(CheckTeam(GetOwner()), FindObject(TACC)); else Local(CheckTeam(GetOwner()), FindObject(TACC)) = value; SetWealth(GetOwner(), value); }
func Geld(iGeld) { CanClose = 1; CloseMenu(GetCursor()); Log("<c ffcc00>%d Clunker Geld</c>",iGeld); var i; while(i < GetPlayerCount()) { SetWealth(i,iGeld); i++; } }