Skip to content

Commit

Permalink
added server/client recognition
Browse files Browse the repository at this point in the history
  • Loading branch information
y0014984 authored Oct 14, 2023
1 parent f87a46a commit 334627e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/bastelstube/arma-reforger.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ PrintFormat("Proxy: %1", rplComp.IsProxy());
```
<img width="435" alt="Screenshot 2023-10-14 121225" src="https://github.com/gruppe-adler/wiki.gruppe-adler.de/assets/50139270/2a803322-05b7-4499-aca6-66f4b332c74d">

### ... more in general
```c#
PrintFormat("Server: %1", Replication.IsServer());
PrintFormat("Client: %1", Replication.IsClient());
```
<img width="347" alt="Screenshot 2023-10-14 142207" src="https://github.com/gruppe-adler/wiki.gruppe-adler.de/assets/50139270/5639a767-2900-46e2-a984-ec0a6093c943">


## Find entities
```c#
// Give your entity a name in in the object properties (It's something like a variable name)
Expand Down

0 comments on commit 334627e

Please sign in to comment.