GetPlayerFacingAngle (playerid, a);
x + = (2 * floatsin (-a, các bằng cấp));
y + = (2 * floatcos (-a, các bằng cấp));
Rocket [FireworkTotal] = CreateDynamicObject (3786, x, y, z, 0, 90, 0);
RocketLight [FireworkTotal] = CreateDynamicObject (354, x, y, z + 1, 0, 90, 0);
RocketSmoke [FireworkTotal] = CreateDynamicObject (18.716, x, y, z - 4, 0, 0, 0);
rx [FireworkTotal] = x;
ry [FireworkTotal] = y;
rz [FireworkTotal] = z;
RocketExplosions [FireworkTotal] = 0;
FireworkTotal ++;
return 1;
}
đang được dịch, vui lòng đợi..
