05.08.2011, 19:07
Quote:
Because I need it.
Im scripting for a roleplay 400/500 so its hardly to find a player. Please help. |
pawn Код:
for(new i, name[MAX_PLAYER_NAME]; i != MAX_PLAYERS; ++i) {
if(GetPlayerName(i, name, sizeof name) && strcmp(name, NEEDLE, true) == 0) {
printf("Player found (id = %d)", i);
break;
}
}