10.11.2010, 19:15
(
Последний раз редактировалось 0ne; 12.11.2010 в 13:29.
)
Problem SOLVED
new Float:camera_x = -2007.9738;
new Float:camera_y = -320.7323;
new Float:camera_z = 82.7880;
new Float:camera_x2 = -2002.2924;
new Float:camera_y2 = 1120.0116;
new Float:camera_z2 = 82.7880;
public OnPlayerConnect(playerid)
{
SetPlayerCameraPos(playerid, camera_x - 5 * floatsin(-camera_x2, degrees), camera_y - 15 * floatcos(-camera_y2, degrees), camera_z + 6);
SetPlayerCameraLookAt(playerid, camera_x2, camera_y2, camera_z2 + 0.5);
return 1;
}
SetPlayerCameraPos(playerid, camera_x - 5 * floatsin(-camera_x2, degrees), camera_y - 15 * floatcos(-camera_y2, degrees), camera_z + 6);
This is the code that the compiler will see and convert into the AMX file. This is a purely text based replacement. All macros are of the form: Код:
#define <search string><space(s)><replacement> |