Страница 4 от 7

GoSpec [ /spec; /back; /change ]

Публикувано на: 02 Окт 2018, 22:09
от OciXCrom
Ако го промени на z, админи няма да могат да го ползват. Трябва да го направи без флаг:

gospec_change_flag "" gospec_spec_flag ""

GoSpec [ /spec; /back; /change ]

Публикувано на: 26 Ное 2018, 19:45
от esc-Fiv3
Hi! I don't want to die when I go to spec. Can you do that for me? Only for /spec command. Thanks!

GoSpec [ /spec; /back; /change ]

Публикувано на: 26 Ное 2018, 20:54
от OciXCrom
Remove lines 61 and 62 in the .sma file: is_user_alive(id) and user_silentkill(id). Bear in mind that your player model won't update if you're using AMXX 1.8.2.

GoSpec [ /spec; /back; /change ]

Публикувано на: 27 Ное 2018, 00:44
от esc-Fiv3
I have 1.8.2 version. So I can't do this because my player models won't update?

GoSpec [ /spec; /back; /change ]

Публикувано на: 27 Ное 2018, 14:16
от OciXCrom
You'll have to manually set the model. It can be done, but if you're using some other plugin for player models for example, you will have to manually type the model name you want. Another alternative is to simply respawn the player.

GoSpec [ /spec; /back; /change ]

Публикувано на: 27 Ное 2018, 15:08
от esc-Fiv3

GoSpec [ /spec; /back; /change ]

Публикувано на: 01 Дек 2018, 03:02
от esc-Fiv3
It doesn't work how you said xD. I'm spectator and still a player in game xD

GoSpec [ /spec; /back; /change ]

Публикувано на: 01 Дек 2018, 14:29
от OciXCrom
Well isn't that what you wanted? You said you don't want the player to die, so if he doesn't die, of course he'll still be in game? :huh:

GoSpec [ /spec; /back; /change ]

Публикувано на: 01 Дек 2018, 15:27
от esc-Fiv3
I want him to go on /spec but not to get -1 on death.. I saw a plugin like this once

GoSpec [ /spec; /back; /change ]

Публикувано на: 01 Дек 2018, 17:31
от OciXCrom
The function that kills the player is user_silentkill which according to the API will not affect the client's score. If this is happening, it's probably a bug in 1.8.2. You should try upgrading to 1.9 or 1.10 to avoid bugs like this.

Another alternative is giving the player -1 death manually. To do this, you need to change these lines:

Код за потвърждение: Избери целия код

if(is_user_alive(id))
	user_silentkill(id)
To this:

Код за потвърждение: Избери целия код

if(is_user_alive(id))
{
	user_silentkill(id)
	cs_set_user_deaths(id, cs_get_user_deaths(id) - 1)
}