Counter-Strike 1.6
VIP
Cs-PlovdiV.com - Aim Attack
93.123.16.4:27022
aim_map2
Играчи: 4/16
aim_map2
Counter-Strike 1.6
VIP
93.123.16.4:27022 Cs-PlovdiV.com - Aim Attack aim_map2 4/16

grenade kill bonus

В този раздел можете да подавате всякакви заявки за намиране, изработка или преработка на плъгини/модове.
Аватар
atmax
Извън линия
Потребител
Потребител
Мнения: 492
Регистриран на: 22 Мар 2018, 15:06
Се отблагодари: 37 пъти
Получена благодарност: 43 пъти

grenade kill bonus

Мнение от atmax » 22 Юли 2020, 18:25

Remove them leave only your values..
Rest in peace my friend I always will remember you! 🖤👊

Аватар
Orangegame14
Извън линия
Потребител
Потребител
Мнения: 87
Регистриран на: 02 Апр 2020, 22:48
Се отблагодари: 6 пъти
Получена благодарност: 24 пъти

grenade kill bonus

Мнение от Orangegame14 » 22 Юли 2020, 18:45

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

set_dhudmessage(red = 200, green = 100, blue = 0, Float:x = -1.0, Float:y = 0.35, effects = 0, Float:fxtime = 6.0, Float:holdtime = 12.0, Float:fadeintime = 0.1, Float:fadeouttime = 0.2)
should not contain any words, otherwise you will get them as undefined symbols

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

set_dhudmessage(200, 100, 0, -1.0, 0.35, 0, 6.0, 12.0, 0.1, 0.2)

Аватар
USA_CA
Извън линия
Foreigner
Foreigner
Мнения: 106
Регистриран на: 19 Юли 2020, 18:02

grenade kill bonus

Мнение от USA_CA » 22 Юли 2020, 19:13

Orangegame14 написа: 22 Юли 2020, 18:45

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

set_dhudmessage(red = 200, green = 100, blue = 0, Float:x = -1.0, Float:y = 0.35, effects = 0, Float:fxtime = 6.0, Float:holdtime = 12.0, Float:fadeintime = 0.1, Float:fadeouttime = 0.2)
should not contain any words, otherwise you will get them as undefined symbols

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

set_dhudmessage(200, 100, 0, -1.0, 0.35, 0, 6.0, 12.0, 0.1, 0.2)
did as you said, now these errors shows
point this show_dhudmessage(id, "health +200 xp")

grenade_bonus.sma(31) : error 017: undefined symbol "id"
grenade_bonus.sma(31) : warning 215: expression has no effect
grenade_bonus.sma(31) : error 001: expected token: ";", but found ")"
grenade_bonus.sma(31) : error 029: invalid expression, assumed zero
grenade_bonus.sma(31) : fatal error 107: too many error messages on one line

Аватар
USA_CA
Извън линия
Foreigner
Foreigner
Мнения: 106
Регистриран на: 19 Юли 2020, 18:02

grenade kill bonus

Мнение от USA_CA » 22 Юли 2020, 20:15

id -------> killer?

Аватар
OciXCrom
Извън линия
Owner
Owner
Мнения: 7206
Регистриран на: 06 Окт 2016, 19:20
Местоположение: /resetscore
Се отблагодари: 117 пъти
Получена благодарност: 1309 пъти
Обратна връзка:

grenade kill bonus

Мнение от OciXCrom » 22 Юли 2020, 20:24

Yes.

Why are you writing from 2 different accounts?!

Аватар
USA_CA
Извън линия
Foreigner
Foreigner
Мнения: 106
Регистриран на: 19 Юли 2020, 18:02

grenade kill bonus

Мнение от USA_CA » 22 Юли 2020, 20:36

OciXCrom написа: 22 Юли 2020, 20:24 Yes.

Why are you writing from 2 different accounts?!
I forgot my password for this account and then I remembered it :rolle:

Аватар
Orangegame14
Извън линия
Потребител
Потребител
Мнения: 87
Регистриран на: 02 Апр 2020, 22:48
Се отблагодари: 6 пъти
Получена благодарност: 24 пъти

grenade kill bonus

Мнение от Orangegame14 » 22 Юли 2020, 21:15

Yes, you have to change id to killer and if you dont have dhudmessage included you have to include it in the beginning of the plugin.

You also have to put a ; symbol at the end of the line show_dhudmessage(id, "health +200 xp").

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

#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#include <dhudmessage>

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

show_dhudmessage(killer, "health +200 xp");

Аватар
USA_CA
Извън линия
Foreigner
Foreigner
Мнения: 106
Регистриран на: 19 Юли 2020, 18:02

grenade kill bonus

Мнение от USA_CA » 22 Юли 2020, 21:26

Orangegame14 написа: 22 Юли 2020, 21:15 Yes, you have to change id to killer and if you dont have dhudmessage included you have to include it in the beginning of the plugin.

You also have to put a ; symbol at the end of the line show_dhudmessage(id, "health +200 xp").

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

#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#include <dhudmessage>

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

show_dhudmessage(killer, "health +200 xp");
it also works without it

Аватар
OciXCrom
Извън линия
Owner
Owner
Мнения: 7206
Регистриран на: 06 Окт 2016, 19:20
Местоположение: /resetscore
Се отблагодари: 117 пъти
Получена благодарност: 1309 пъти
Обратна връзка:

grenade kill bonus

Мнение от OciXCrom » 22 Юли 2020, 22:00

He doesn't have to include dhudmessage on newer AMXX versions.
The ";" in the end is not mandatory unless the plugin uses #pragma semicolon 1.

Аватар
Orangegame14
Извън линия
Потребител
Потребител
Мнения: 87
Регистриран на: 02 Апр 2020, 22:48
Се отблагодари: 6 пъти
Получена благодарност: 24 пъти

grenade kill bonus

Мнение от Orangegame14 » 22 Юли 2020, 22:30

I dont know, those was the ways to fix the errors when i tried to compile the plugin with 1.8.2

Публикувай отговор
  • Подобни теми
    Отговори
    Преглеждания
     Последно мнение

Обратно към “Заявки за плъгини”

Кой е на линия

Потребители разглеждащи този форум: 0 регистрирани и 13 госта