NPC:IsCurrentSchedule
Açıklama
NPC'nin belirtilen görevi (schedule) yerine getirip getirmediğini döndürür.
Argümanlar
Döndürülen Değer
Örnek
Bir NPC'nin hangi görevi yerine getirdiğini döndüren bir fonksiyon.
function GetNPCSchedule(npc)
if(!IsValid(npc)) then return end
for s = 0, LAST_SHARED_SCHEDULE-1 do
if(npc:IsCurrentSchedule(s)) then return s end
end
return 0
end
Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord