Jass:CameraClearNoiseForPlayer
Aus Mappedia
| Funktion: CameraClearNoiseForPlayer | |
|---|---|
| Parameter: | player |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function CameraClearNoiseForPlayer takes player whichPlayer returns nothing if (GetLocalPlayer() == whichPlayer) then // Use only local code (no net traffic) within this block to avoid desyncs. call CameraSetSourceNoise(0, 0) call CameraSetTargetNoise(0, 0) endif endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| player | whichPlayer |
