Salut. Am o problema cu MoveObject-ul la gate-uri. Orice valoare i-as da la "speed", viteza este aceeasi, uriasa.
EDIT: Am lasat gate-ul mai jos.
new jailg, jailg1;
forward GJail();
public GJail()
{
MoveObject(jailg,1752.03223, -1591.23840, 14.27629, 1, 0.0, 0.0, 78.24);
MoveObject(jailg1,1756.94910, -1592.31287, 14.26984, 1, 0.0, 0.0, -103.36);
return 1;
}
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(PlayerToPoint(6.0, playerid, 1752.03223, -1591.23840, 14.27629))
{
SetTimer("GJail", 3500, 0);
MoveObject(jailg, 1752.03223, -1591.23840, 14.27630, 1, 0.0, 0.0, 170.00000);
MoveObject(jailg1, 1756.94910, -1592.31287, 14.26984, 1, 0.0, 0.0, -170.31981);
format(string, sizeof(string), "%s scoate o telecomanda si deschide poarta.", GetPlayerNameEx(playerid));
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return 1;
}
}