06.05.2010, 14:32
Hello,
That is used in OnPlayerDeath
I want it so it SETS your camera THERE, even if you spawn, your camera just stays being the place that SetPlayerCameraPos sets it. But why doesn't it work?
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
GetPlayerCameraPos(playerid, x, y, z);
SetPlayerCameraPos(playerid, x, y, z);
}
new Float:x, Float:y, Float:z; GetPlayerCameraPos(playerid, x, y, z);
SetPlayerCameraPos(playerid, x, y, z);
I want it so it SETS your camera THERE, even if you spawn, your camera just stays being the place that SetPlayerCameraPos sets it. But why doesn't it work?