13.05.2016, 11:26
Hello,
any idea how to speed up this function?
This function is to slow. I need faster.
Thanks for any help
any idea how to speed up this function?
Код:
stock GetPlayerHouses(playerid) { new count,name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,sizeof(name)); for(new h;h<sizeof(House);h++) { if(strcmp(name,House[h][house_owner],false) == 0) count++; } return count; }
Thanks for any help
