SA-MP Forums Archive
problem with stats - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: problem with stats (/showthread.php?tid=214909)



problem with stats - Face9000 - 22.01.2011

Hi all,im working on /stats to show the current team name,so i made this:

pawn Код:
if(gTeam[playerid] == TEAM_RPG)
        {
        SendClientMessage(playerid, RED, "TEAM: RPG);
        )
Same for other teams,but i get tons of errors,what's wrong?


Re: problem with stats - Not available - 22.01.2011

pawn Код:
if(gTeam[playerid] == TEAM_RPG)
{
        SendClientMessage(playerid, RED, "TEAM: RPG");
}
You missed a " and you probably misstyped ) instead of }.


Re: problem with stats - Face9000 - 22.01.2011

:/ NVM,thanks =D