10.08.2012, 20:54
try this:
pawn Код:
new name2[MAX_PLAYER_NAME];
format(name2, MAX_PLAYER_NAME, "%s", DynamicHouses[houseid][hRenter1]);
for(new i = 0; i < MAX_PLAYERS; ++i)
{
if(strcmp(name2, PlayerName(i), true))
{
printf("naame2: %s", name2);
printf("PlayerName(i): %s", PlayerName(i));
printf("i: %d", i);
}
}