01.01.2010, 17:19
Hey,i have command "opengate" but it wont work,
the problem is the object wont move and it says %s takes his/her remote and opens Gothic hq gate.
and then says SERVER:unknown command
heres the lines from it
the problem is the object wont move and it says %s takes his/her remote and opens Gothic hq gate.
and then says SERVER:unknown command
heres the lines from it
pawn Код:
if(IsAGothic(playerid))
{
if (PlayerToPoint(15, playerid,1084.9635009766, -1886.8415527344, 14.262490272522))
{
MoveObject(gothicgate,1094.5635009766, -1886.8415527344, 14.262490272522);
SetTimer("closegate8", 7000, 0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s takes his/her remote and opens Gothic hq gate.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else { SendClientMessage(playerid, COLOR_GREY,"Destination is too far."); }
}