21.11.2008, 16:44
do i put this anywhere? or is this a usage of it?
i am confused on how to use any of these commands
i am confused on how to use any of these commands
Quote:
|
Originally Posted by ******
Код:
GetPlayerId(playername[])
{
for (new i = 0; i < MAX_PLAYERS; i++)
{
if ((IsPlayerConnected(i)) && (strcmp(playername, gPlayerName[i], true) == 0))
{
return i;
}
}
return INVALID_PLAYER_ID;
}
|

