Originally Posted by KyleS
Cool! Way to take advantage of the new events in CS:GO!
Two Things: In Command_JoinTeam you don't check argc, or the return of GetCmdArg. Your team counts start at -1, so when your while loops fire, if only one spawn point is found, they'd show 0. Just things, but heh! It's a pretty simple plugin ;)
if(!argc || !client || !IsClientInGame(client))
i check if argc is zero and bail out if it is
the -1 thing is true,i meant that to indicate if the counting code hasnt run yet and forgot to reset it to 0 there lmao, thanks