16.09.2008, 15:12
Why the hell does it says that don't understand hqgate? I am a new / noob scripter, please help.
Code:
if(strcmp(cmdtext,"/opengate", true) == 0)
{
if (gTeam[playerid] == TEAM_BLUE)
{
if(PlayerToPoint(15.0, playerid,283.2922,-1543.4369,24.7436))
{
MoveObject(hqgate, 2294.237060, 2499.121337, 10.422034, 0.000000, 0.000000, 270.312011, 1.500000);
return 1;
}
}
}
if(strcmp(cmdtext,"/closegate", true) == 0)
{
if (gTeam[playerid] == TEAM_BLUE)
{
if(PlayerToPoint(15.0, playerid,283.2922,-1543.4369,24.7436))
{
MoveObject(2294.206787,2499.329101,5.770081,270.057617,1.500000);
return 1;
}
}
}

