17.11.2013, 19:22
How can I set Camera Positing near player's foot, looking towards sky? I tried this (don't roll your eyes haha)
To be honest I didn't know what I did but when I tested it my samp was lagging and some strange effects was going on hahah... so how should I place camera near player foot looking up towards sky?
pawn Код:
if(strcmp(cmd, "/test", true) == 0)
{
new X,Y,Z;
GetPlayerPos(playerid, Float:X,Float:Y,Float:Z);
SetPlayerCameraPos(playerid,X,Y,0);
SetPlayerCameraLookAt(playerid, X,Y,Z+10);
return 1;
}