Help me with this command
#1

I have made a house system.Everything forks fine exept 1 command.

Код:
CMD:enterhouse(playerid,params[])
{
	for(new h=0;h<MAX_HOUSES+1;h++)
	{
	    if(IsPlayerInRangeOfPoint(playerid,1.0,HouseInfo[h][hEnterX],HouseInfo[h][hEnterY],HouseInfo[h][hEnterZ]))
	    {
	        SetPlayerPos(playerid,HouseInfo[h][hExitX],HouseInfo[h][hExitY],HouseInfo[h][hExitZ]);
	        SetPlayerInterior(playerid,HouseInfo[h][hInterior]);
	    }
	}
	return 1;
}
When i use this command it teleports me to the coord but it says "Unknown command".
Can someone help me to fix it please?
Reply


Messages In This Thread
Help me with this command - by scripter112 - 10.12.2018, 13:30
Re: Help me with this command - by Calisthenics - 10.12.2018, 13:53
Re: Help me with this command - by scripter112 - 10.12.2018, 13:59

Forum Jump:


Users browsing this thread: 1 Guest(s)