25.07.2012, 21:52
Whats up
Q1:When i join as stars member its says you are not a stars member why?
Q2: how can i make the moving obejct stops at Certain point?
pawn Код:
CMD:oroof(playerid,params[])
{
if(gTeam[playerid] == Team_Stars)
{
SendClientMessage(playerid,COLOR_RED1,"You are not s stars Member");
}
else
{
SendClientMessage(playerid,COLOR_RED1,"You have opened the roof");
MoveObject(gate[0], 326.84, 926.29, 25.63, 5, 90.00, 0.00, 0.00);
MoveObject(gate[1], 318.07, 933.51, 25.63, 5, 90.00, 0.00, 0.00);
MoveObject(gate[2],326.84, 921.75, 25.63, 5,90.00, 0.00, 0.00);
MoveObject(gate[3],326.85, 933.44, 25.63, 5 , 90.00, 0.00, 0.00);
MoveObject(gate[4],318.07,926.35, 25.63, 5 , 90.00, 0.00, 0.00);
MoveObject(gate[5],318.07, 921.56, 25.63, 5 , 90.00, 0.00, 0.00);
MoveObject(gate[6],316.72, 933.68, 25.63, 5 , 90.00, 0.00, 0.00);
MoveObject(gate[7],316.81, 926.48, 25.63, 5 , 90.00, 0.00, 0.00);
MoveObject(gate[8],317.28, 921.52, 25.63, 5 , 90.00, 0.00, 0.00);
}
return 1;
}
Q2: how can i make the moving obejct stops at Certain point?