IsPlayerStreamedIn TR

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:15, 13 August 2010
Dugi (Talk | contribs)
(this category is only for english versions of t he scripting function documentation pages)
← Previous diff
Revision as of 13:54, 9 May 2015
Ikkentim (Talk | contribs)

Next diff →
Line 2: Line 2:
{{Title}} {{Title}}
-{{0.3Added|function|}}+{{0.3Added_TR|function|}}
{{Description|Oyuncuların birbirini görüp görmediğini kontrol eder.}} {{Description|Oyuncuların birbirini görüp görmediğini kontrol eder.}}

Revision as of 13:54, 9 May 2015




Template:0.3Added TR

Description:

Oyuncuların birbirini görüp görmediğini kontrol eder.


Parameters:
(playerid, forplayerid)
playeridBirinci oyuncunun ID numarası.
forplayeridİkinci oyuncunun ID numarası..


Return Values:

Birbirlerini görüyorlarsa 1 görmüyorlarsa 0 döner.


Image:32px-Circle-style-warning.png

Important
Note

İki oyuncu ID numarasıda aynıysa, yani aynı oyuncunun birbirini görüp görmediğini kontrol ederseniz sonuç "false" döner!
Image:32px-Ambox_warning_orange.png

Note

Oyuncuların birbirini görebilmesi için birbirlerinden en fazla 150 metre uzakta olmaları gerekir.


if(IsPlayerStreamedIn(playerid, 0)) SendClientMessage(playerid, COLOR_WHITE, "ID 0 seni görüyor.");

Related Functions

The following functions may be useful, as they are related to this function in one way or another.


Related Callbacks

The following callbacks might be useful, as they're related to this function in one way or another.