pawn Код:
new house = GetPlayerVirtualWorld(playerid);
That's what you need by the looks of it and comparing the code to the top row where you are just using the virtual world to find what house ID it is. There is a few other errors in the coding. If someone actually has the name 'no' then they will own most houses. You also should never return 0 inside a command because it will return that it's a server unknown command.