DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SetID()

proto native void IEntity::SetID ( int id)
protected

Set unique entity ID.

Аргументы
idint unique entity ID to be set
ItemBase apple = g_Game.CreateObject( "Fruit_Apple", String2Vector("0 10 0"), false );
apple.SetID(101);
Print( apple.GetID() );
>> 101
DayZGame g_Game
Определения DayZGame.c:3868
Определения InventoryItem.c:731
proto void Print(void var)
Prints content of variable to console/log.