Thumbs upSpectator Mode

Posts 1–13 of 13 · Page 1 of 1
Spectator Mode
Spectator Mode

- - - Updated - - -

Code:
bool pPlayerView = false;
bool display = true;

class Spectator
{
public:
    char _0x0000[100];
    __int32 Mode;
};

class CLTPlayerClient
{
public:
    char _0x0000[40];
    Spectator *pSpectator;
};
   DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");

               CLTPlayerClient *pPlayer = (CLTPlayerClient *)(CShell + aCLTPlayerClient);

               if (pPlayer != NULL)
               {                
                    if (GetAsyncKeyState('T') & 1) pPlayerView = !pPlayerView;               
                    if (pPlayerView)
                    {
                         pPlayer->pSpectator->Mode = 3;
                         display = false;
                    }                            
                    else
                    {
                         if (!display)
                         {
                               pPlayer->pSpectator->Mode = 1;
                               display = true;
                         }
                    }                
               }

TESTED ON CFNA , CFPH !
Enjoy!
Credits : ACEOFEGALE , dreek ,Me For Posting
Thanks !!
i think you should credits to that owner /rt²
@dreek1 by the class posting with information about the camera system, and too because made this function 3 YEARS before. Maybe some other people. Hey dude, you just pasted the code from another forum, and it was pasted from here, and too, this code has been rewritten in such a bad text structure/syntax. Don't take credit for something you did not do.
Quote Originally Posted by Light L View Post
i think you should credits to that owner /rt²
@dreek1 by the class posting with information about the camera system, and too because made this function 3 YEARS before. Maybe some other people. Hey dude, you just pasted the code from another forum, and it was pasted from here, and too, this code has been rewritten in such a bad text structure/syntax. Don't take credit for something you did not do.
You're right bro
but how512 mentioned that this code was posted by AOE
then the first person who posted classes is "dreek"
no one cannot deny this
but who posted the method is AOE

AOE , dreek are Appreciated
Quote Originally Posted by Light L View Post
i think you should credits to that owner /rt²
@dreek1 by the class posting with information about the camera system, and too because made this function 3 YEARS before. Maybe some other people. Hey dude, you just pasted the code from another forum, and it was pasted from here, and too, this code has been rewritten in such a bad text structure/syntax. Don't take credit for something you did not do.
Well Done !
Quote Originally Posted by [K]akashi View Post


You're right bro
but how512 mentioned that this code was posted by AOE
then the first person who posted classes is "dreek"
no one cannot deny this
but who posted the method is AOE

AOE , dreek are Appreciated
dreek just posted the classes from the lithtech engine src
credits goes to monolith ...
What if we put another value? I'll try to make a free cam out of that...
Quote Originally Posted by vaisefud3 View Post
What if we put another value? I'll try to make a free cam out of that...
2 is cool ......
Quote Originally Posted by jayjay153 View Post
2 is cool ......
Didn't tested yet xD
Thanks for the tip though
Different offset for CFBR
Don't ask me, use ReClass and find it...

Value 1 for 1st person, value 2 for free cam, value 3 for 3rd person.
Now I want say, this is good. I'm updating my "third view" using free camera and my player position. this allows to do a better view and with your face. I like camera position of games like Resident Evil 4, Grand Theft Auto V, PUBG... and this function allows this. +rep

sorry my bad english
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

Need help?