Help with this two Questions. -
Gangster-rocks - 25.07.2012
Whats up
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;
}
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?
Re: Help with this two Questions. -
Rudy_ - 25.07.2012
pawn Код:
CMD:oroof(playerid,params[])
{
if(gTeam[playerid] == Team_Stars)
{
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);
}
else
{
SendClientMessage(playerid,COLOR_RED1,"You are not s stars Member");
}
return 1;
}
Re: Help with this two Questions. -
Gangster-rocks - 26.07.2012
and How can i make the object stops at Certain point?