All pastes #608899 Raw Edit

Something

public cpp v1 · immutable
·published 2007-07-08 15:37 UTC
rendered paste body
//zforwarduj topublic SendClientMessageToAdmins(kolor, const wiadomosc[]) {    for(new a=0; a<MAX_PLAYERS; a++) {        if(IsPlayerConnected(a)) {            if(IsPlayerAdmin(a)) {                SendClientMessage(a, kolor, wiadomosc);            }        }    }}//tegp juz niestrtok(const string[],valve){	new index=valve;	new length = strlen(string);	while ((index < length) && (string[index] <= ' '))	{		index++;	}	new offset = index;	new result[20];	while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))	{		result[index - offset] = string[index];		index++;	}	result[index - offset] = EOS;	return result;}