16.11.2014, 20:21
Код:
if(strcmp(cmd, "/test", true) == 0) { TogglePlayerSpectating(playerid, 1); InterpolateCameraPos(playerid,1386.2100, -2173.7600, 128.9300,1544.9874, -2138.2395, 151.3702,20000); InterpolateCameraLookAt(playerid, 1387.0900, -2174.2500, 128.3500,1544.7811, -2139.2263, 150.7503,20000); fly[playerid] = CreateVehicle(577, 1476.9530, -2199.7683, 80.4072, 183.2097, -1, -1, 100); //fly[playerid] = CreatePlayerObject(playerid, 1683, 1500.15894, -2213.15894, 83.03691, 0.00000, 0.00000, 280.46643); //MovePlayerObject(playerid, fly[playerid], 1500.64063, -2320.23560, 83.03690, 6); new Float:Velocity[3]; GetVehicleVelocity(fly[playerid], Velocity[0], Velocity[1], Velocity[2]); SetVehicleVelocity(fly[playerid], 25.0 , Velocity[1], Velocity[2]); SetTimerEx("Zboara", 250, true, "d", playerid); return 1; }