Skip to content

Instantly share code, notes, and snippets.

@Hual
Hual / sc1.cpp
Last active December 31, 2019 14:27 — forked from AmyrAhmady/sc1.cpp
if (firstname!=NULL)
{
assert(strlen(firstname)<=sNAMEMAX);
strcpy(symbolname,firstname); /* save symbol name */
tag=firsttag;
}
else
{
tag= (firsttag>=0) ? firsttag : pc_addtag(NULL);
tok=lex(&val,&str);
0499f3cab34c500e0ce7e110b5808ead5f1181fbcf1722116c52c06ccda7fcd39a1637a66bfb3937fcc84ed81d110d2a8bf0b94c9ab23bd720a35e27c08226b511
new i;
i = 0;
loop:
if(i > MAX_PLAYERS) goto loop_stop;
if(something == 1 && isPlayerConnected(i) == 1)
{
//do something
i++;
goto loop;
}