FM_SetModel, pev_impulse
Hey. When give entity weapons set pev_impulse 500.
In FM_Setmodel do check client_print (id, print_chat, "SetModel impulse ==% d", pev (entity, pev_impulse)); if (pev (entity, pev_impulse) == 500) but it did not pass because the pev_impulse == 0 why pev_impulse == 0 ? PHP Code:
|
Re: FM_SetModel, pev_impulse
You have different fm_give_item stock from my includes. Make sure that entity id's ar the same. Print them both out.
|
Re: FM_SetModel, pev_impulse
Weapon is given to a player, so SetModel is not called, or it is called but not viewable because it is given right to player.
If you want to set model when player gonna drop that weapon, then you have to check weapon that is hold by the created weaponbox, with get_pdata_cbase (there is a stock somewhere) |
Re: FM_SetModel, pev_impulse
Quote:
https://forums.alliedmods.net/showpo...&postcount=134 PHP Code:
|
Re: FM_SetModel, pev_impulse
ConnorMcLeod, meTaLiCroSS Thanks
|
| All times are GMT -4. The time now is 10:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.