28.04.2010, 20:55
I want my rotating gate go smother whats wrong here
Код:
if(strcmp(cmdtext, "/pd1o", true) == 0) { if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1) { SetObjectRot(PDrampa1, 0.0000, 88.0000, 90.0000); SetTimer("Timer",1,100); SetObjectRot(PDrampa1, 0.0000, 85.0000, 90.0000); SetTimer("Timer",2,200); SetObjectRot(PDrampa1, 0.0000, 83.0000, 90.0000); SetTimer("Timer",3,300); SetObjectRot(PDrampa1, 0.0000, 80.0000, 90.0000); SetTimer("Timer",4,400); SetObjectRot(PDrampa1, 0.0000, 78.0000, 90.0000); SetTimer("Timer",5,500); SetObjectRot(PDrampa1, 0.0000, 75.0000, 90.0000); SetTimer("Timer",6,600); SetObjectRot(PDrampa1, 0.0000, 73.0000, 90.0000); SetTimer("Timer",7,700); SetObjectRot(PDrampa1, 0.0000, 70.0000, 90.0000); SetTimer("Timer",8,800); SendClientMessage(playerid, COLOR_GREEN, "Otvarate rampu PD-a.");// opening pd ramp 1 } else { SendClientMessage(playerid, COLOR_GREEN, "Nisi clan PD-a."); // you are not member of police department } return 1; }