ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
Log In
Sign Up
Hello There, Guest!
Home
Members
Upgrade
Awards
Credits
Extras
Demon Forums
Gaming
Grand Theft Auto V
Grand Theft Auto V Modding
Xbox 360
[Question] Detect if I'm in the game (Story or Online)
1455
[Question] Detect if I'm in the game (Story or Online)
by
GHOSTED
- 11-16-2020 - 05:59 PM
GHOSTED
DEVELOPER
Posts:
421
Threads:
129
Reputation
41
41
Rep
143
Likes
DEVELOPER
Posts:
421
Threads:
129
Joined:
Sep 2018
Vouches:
0
Credits:
0
6 Years of Service
#1
OP
11-16-2020 - 05:59 PM
Subscribe
Title says what i need.
anyone know how i can do it?
DISCORD: xexghosted
Reply
0
Reply
ReturnTrue
DF Member
Posts:
9
Threads:
1
Reputation
0
0
Rep
4
Likes
DF Member
Posts:
9
Threads:
1
Joined:
Jan 2019
Vouches:
0
Credits:
0
5 Years of Service
#2
11-16-2020 - 06:06 PM
Subscribe
if(PLAYER::IS_PLAYER_PLAYING(PLAYER::PLAYER_ID()))
{
if (*(bool*)(0x83C86854))
// Online
else
// Storymode
}
Reply
0
Reply
Hynodgy
DF Member
Posts:
29
Threads:
4
Reputation
1
1
Rep
8
Likes
DF Member
Posts:
29
Threads:
4
Joined:
May 2019
Vouches:
0
Credits:
0
5 Years of Service
#3
11-16-2020 - 06:17 PM
Subscribe
So simple...
if (NETWORK:: NETWORK_IS_IN_SESSION())
{
//online
}
else
{
//story
}
Reply
0
Reply
GHOSTED
DEVELOPER
Posts:
421
Threads:
129
Reputation
41
41
Rep
143
Likes
DEVELOPER
Posts:
421
Threads:
129
Joined:
Sep 2018
Vouches:
0
Credits:
0
6 Years of Service
#4
OP
11-16-2020 - 06:20 PM
Subscribe
oh nice
thank you guys <3
DISCORD: xexghosted
Reply
0
Reply
Slutty-eGirlz
DF Member
Posts:
117
Threads:
6
Reputation
4
4
Rep
33
Likes
DF Member
Posts:
117
Threads:
6
Joined:
Aug 2019
Vouches:
0
Credits:
0
5 Years of Service
#5
11-16-2020 - 08:36 PM
Subscribe
yeah well theyve already put it
You are braver than you believe, stronger than you seem and smarter than you think.
Reply
0
Reply
Users browsing: 1 Guest(s)