![]() |
|
#1
|
|||
|
|||
![]()
And another question
![]() Is possible that some functions are executed in singleplayer and anothers in multiplayer?? I think that OnAircraftTookOff, OnAircraftLanded or OnAircraftCrashLanded only is executed only in singleplayer, it's possible? Thanks!! |
#2
|
|||
|
|||
![]()
You can check (bool)
GamePlay.gpIsServerDedicated(); GamePlay.gpIsServerSingle(); but by a SingleplayerGame GamePlay.gpIsServerSingle() is also true. So you should check if GamePlay.gpRemotePlayers() contains Players, if so its a MultiplayerGame if not its a SinglePlayer. |
#3
|
|||
|
|||
![]()
Thanks again Kodiak!
So, I'm right!?, some events only works in singleplayer and others in multiplayer, it's ok? |
#4
|
|||
|
|||
![]()
Yes but it's depens on the patch version. So if the events dont work in multiplayer call them bugs
![]() |
#5
|
|||
|
|||
![]() Quote:
![]() ![]() ![]() |
![]() |
|
|