[HELP] Spawned item is not model
r3dlog
Code:
000465.401| !!! ERROR: spawned item is not model
000465.401| ... exiting
Logss
Code:
000434.224| cmd: /gi 301138 admin:126
000434.224| !!! cheat: peer00, r:Admin Spawn Item 1017546 (13131) spawned 301138 with quantity 1 on server Colorado
, CID:1017546 [13131],
000439.494| obj_DroppedItem 102B0048 created. 301138, 599.999861 sec left
000458.845| !!! cheat: peer00, r:DisconnectPeer no weapdatarep, CID:1017546 [13131],
000458.845| peer00 player 13131 is updating his data
000458.845| DeletePlayer: 13131, playerIdx: 0
Re: [HELP] Spawned item is not model
Search for : BOOL obj_DroppedItem::OnCreate()
find: Imgur: The most awesome images on the Internet
add a new line. For example:
else if(m_Item.itemID == 'CRATE ITEM ID')
{
cpMeshName = "Data\\ObjectsDepot\\Weapons\\lootdrop1.sco";
m_bEnablePhysics=true;
}
build and then test
Re: [HELP] Spawned item is not model
Quote:
Originally Posted by
dldanny05
Search for : BOOL obj_DroppedItem::OnCreate()
find:
Imgur: The most awesome images on the Internet
add a new line. For example:
else if(m_Item.itemID == 'CRATE ITEM ID')
{
cpMeshName = "Data\\ObjectsDepot\\Weapons\\lootdrop1.sco";
m_bEnablePhysics=true;
}
build and then test
Thank you supporting but http://i.imgur.com/zt371BF.png
Re: [HELP] Spawned item is not model
Where you have wrote:
else if(m_Item.itemID == 'CRATE ITEM ID')
it needs to be the item ID of the create or case
so it would be for me:
else if(m_Item.itemID == 301138 )
Re: [HELP] Spawned item is not model
Quote:
Originally Posted by
dldanny05
Where you have wrote:
else if(m_Item.itemID == 'CRATE ITEM ID')
it needs to be the item ID of the create or case
so it would be for me:
else if(m_Item.itemID == 301138 )
Again the error :(
Re: [HELP] Spawned item is not model
hmmm let me test
- - - Updated - - -
Check here. The build is successful. Use the code you can see in the image:
http://imgur.com/a/anrT0