13.04.2010, 12:38
Hi, i did make something at /enter & /exit, first i was fixed, but now see i the text not?
i see the fault not? maybe you?
pawn Код:
if (strcmp(cmd, "/enter", true) ==0)
{
if(IsPlayerInRangeOfPoint(playerid, 4, HouseInfo[playerid][hEntrancex], HouseInfo[playerid][hEntrancey], HouseInfo[playerid][hEntrancez]))
{
SendClientMessage(playerid, COLOR_RED, "Press Enter or F to enter your house!");
}
if(IsPlayerInRangeOfPoint(playerid, 6, BusinessInfo[playerid][bEntrancex], BusinessInfo[playerid][bEntrancey], BusinessInfo[playerid][bEntrancez]))
{
SendClientMessage(playerid, COLOR_RED, "Press Enter or F to enter your Business!");
}
return 1;
}