13.08.2011, 05:54
Hello.. I want to create an enterance to my bussiness, but script does not working.. What i'm doing wrong?
pawn Код:
CMD:enter(playerid, params[])
{
if (PlayerToPoint(1.0, playerid,dini_Float(String, "EnterX"),dini_Float(String, "EnterY"),dini_Float(String, "EnterZ")))
{
SendClientMessage(playerid,COLOR_GREY,"works");
SetPlayerPos(playerid,dini_Float(String, "EnterX"),dini_Float(String, "EnterY"),dini_Float(String, "EnterZ")+1);
}
return 1;
}