AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Bomb Model on back of person (https://forums.alliedmods.net/showthread.php?t=47295)

jeppelykke 11-14-2006 12:14

Bomb Model on back of person
 
Hey Hey :)

Need backup....

Have a script that strips alle users weapons and then gives the person that spawned with the C4 the C4 again and set that he can plant it ect...

How do i setup so that the person that get that C4 now also have the model of the BOMB PACK on his back. So far i can see it on radar who has it, but i can't make it visible for people ruing around on other team, to see who has the bomb on his back.

Anyone know how to fix this

P34nut 11-14-2006 13:01

Re: Bomb Model on back of person
 
cs_set_user_plant()

http://www.amxmodx.org/funcwiki.php?go=func&id=198

should work

jeppelykke 11-14-2006 13:02

Re: Bomb Model on back of person
 
No, I know how to do that...

But ingame, the person with the bomb should have the bomb on his BACK when runing around, it's missing...

VEN 11-14-2006 13:58

Re: Bomb Model on back of person
 
Yes this is true. I've noticed such backpack and defkit issue also and have reported to the DEVs a while ago. They fixed cs_set_user_defuse to display defkit but still didn't fixed cs_set_user_plant. I'm not sure whether they will fix it ot not, so here is the solution:
If you use the engine module:
Code:
entity_set_int(player_index, EV_INT_body, 1)

If you use the fakemeta module:
Code:
set_pev(player_index, pev_body, 1)

jeppelykke 11-15-2006 13:45

Re: Bomb Model on back of person
 
What is the best to use fake or Engine ?

Greenberet 11-15-2006 14:44

Re: Bomb Model on back of person
 
fakemeta

jeppelykke 11-16-2006 00:54

Re: Bomb Model on back of person
 
K, thanx :)

The Specialist 11-16-2006 05:24

Re: Bomb Model on back of person
 
also you can use VEN's fakemeta_util pack , and use
Code:
fm_strip_user_gun(id,weapon)
and strip specific weapons and leave the knives or pistols or bomb and have it work so they can plant it and such .


All times are GMT -4. The time now is 06:55.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.