22.09.2017, 16:17
so, this is basically my code
At the end, it shows in console something like "Mynickname Mynickname", with no differences. What's the matter in here?
Code:
new name[25]; GetPlayerName(playerid, name, 25); new house = pInfo[playerid][pIH]; if(strcmp(hInfo[house][hOwner], name, true, sizeof(name))) { print("?"); ShowPlayerDialog(playerid, BHIM, DIALOG_STYLE_LIST, ""#COL_WHITE"House Owner Menu", "Close/Open house\nHouse Info\nUse Safe\nUse Freezer\nUse Store\nSee Last House Visitors List\nRespawn Car\nSell Car", "Select", "Close"); } else { printf("%s %s",name,hInfo[house][hOwner]); return 1; }