Quote:
Originally Posted by Bugsy
I thought you were using the code I posted here. I showed you what you had to replace in each of these 2 snips.
|
Code:
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\money5min.sma(67 -- 69) : error 001: expected token: ",", but found "}"
Code:
public Give_Money()
{
static PlayerList[32], PlayerNum; PlayerNum = 0
static id
static CsTeams:iTeam;
get_players(PlayerList, PlayerNum, "h")
for(new i=0; i<PlayerNum;i++)
{
id = PlayerList[i];
iTeam = cs_get_user_team(id)
if(iTeam == CS_TEAM_SPECTATOR || iTeam == CS_TEAM_UNASSIGNED)
continue
cs_set_user_money(id, min (cs_get_user_money (id) + GIVE_AMOUNT, 16000)
}
}
__________________