26.07.2012, 19:29
pawn Код:
CMD:elevup(playerid,params[])
{
if(gTeam[playerid] == Team_Stars)
{
MoveObject(elev[0],280.46, 1822.38, 6, 5, 90.00, 0.00, 90.00);
MoveObject(elev[1],291.34, 1822.41, 6, 5, 90.00, 0.00, 270.00);
SetTimer("up",2000,true);
}
return 1;
}
pawn Код:
elev[0] = CreateObject(986, 280.46, 1822.38, 17.16, 90.00, 0.00, 90.00);
elev[1] = CreateObject(986, 291.34, 1822.41, 17.16, 90.00, 0.00, 270.00);