Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: getplayersinteam
1. getPlayersInTeam
Jak zastosowa? t? funkcj? z tematu.
Chcia?em zrobi? to tego, ?e marker widzi ten team, ale bad argumant mam....

Kod:

local strazacy 
= getPlayersInTeam ("Ochotnicza Stra? Po?arna")

function 
burzaJeden ()
createObject (846, 1098.60974, -2341.67236, 11.70432)
setWeather (8)
marker1 = createMarker (1100.40527, -2343.48730, 11.22701, "cylinder", 1, 255, 128, 128)
setElementVisibleTo(marker1, strazacy, true) 
setTimer ( function() 
setWeather (10)
end, 150000, 1 )
end
addCommandHandler
("burza1", burzaJeden)