31.03.2009, 23:19
Damn anyone can tell me how to set raange on a gate? -.-
pawn Code:
if(strcmp(cmd, "/openpd1", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pFaction] != 255 && DynamicFactions[PlayerInfo[playerid][pFaction]][fType] == 1)
{
//if(PlayerToPoint(10.0, playerid,246.3236,72.0459,1003.6406)
{
MoveObject(pddoor1, 244.0578,72.4314,1002.5406, 3.5000);
MoveObject(pddoor2, 247.1478,72.4314,1002.5406, 3.5000);
return 1;
}
}
return 1;
}
return 1;
}