Set players view
2 Attachment(s)
Hello. I have a 2 questions..
Help me please with this: 1. how can i set view of ALL dead players \ spectators to FORCECHASECAM of last 2 alive players on map? There are 2 alive players on map remaining (1 in TERR team, 1 - in CT team). PHP Code:
|
Re: Set players view
add to 1st question:
i have a code which calculate those 2 last alive players (ex. iPlayerLastT and iPlayerLastCT. I need only a command to set camera view to this players (free chase cam). PHP Code:
|
Re: Set players view
First question i solve.
Help me with c4 code please (q. № 2) |
Re: Set players view
You can show how you have resolved it, so others can also see it.
I will try todo something with the c4 and will post later. |
Re: Set players view
Alright I tried todo something. It will for sure give you the idea what I have done or make it better since I just used natives from all modules. Not that it is bad, just use the right natives and it is fine.
In that code I basically removed the c4 drop from a player and c4 drop by dieing. It creates an entity with the c4 model and hooks the touch and gives the c4 to that player. Keep in mind, that I have added a code that the owner of the last thrower of the c4 can't pickup it anymore, since he would pick it right up if he drops it. PHP Code:
|
Re: Set players view
PHP Code:
|
Re: Set players view
1 Attachment(s)
Quote:
PHP Code:
bibu: thank you for work, but bomb falls so far (see screenshot); meTaLiCroSS: thank you too, works fine. |
Re: Set players view
My code should work fine, I tested it. But just use metalicross' version, since it is much more better.
|
Re: Set players view
Quote:
|
| All times are GMT -4. The time now is 13:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.