19.07.2018, 15:00
Not tested but give it a try.
PHP код:
COMMAND:findhouse(playerid, params[])
{
new fhouse;
if( sscanf ( params, "d", fhouse)) return SCP(playerid, "[house ID]");
SetPlayerCheckpoint(playerid, HouseInfo[fhouse][hPosX], HouseInfo[fhouse][hPosY], HouseInfo[fhouse][hPosZ], 2);
SendClientMSG(playerid, COLOR_YELLOW, "Marker has been set to house with the number %d.", fhouse);
return 1;
}