Thread: some queries
View Single Post
  #2  
Old 05-26-2012, 11:11 AM
FG28_Kodiak FG28_Kodiak is offline
Senior Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

to 1:
The event
OnPlayerConnected(Player player)
is only called if a remote player connects.
If the player is already on server and the mission starts nothing happens. Only new player are registered.

You get the host with
GamePlay.gpPlayer(); //Player is single Player or Player hosted mission - Server if Dedicated server.
GamePlay.gpRemotePlayers(); // all remote connected players, without the host (Player or Server)

to 2:
Do you mean how to add a AAA to a custom convoy?
On the object dialog -> Actor -> change the category to tanks and select a AAA (SDK 10/5 with 2cm AAA for Example).

to 3:
dont know the problem
Reply With Quote