←  Pytania

AMXX.pl: Support AMX Mod X i SourceMod

»

Jak dodac wyrzucenie pistoletu podczas otr...

  • +
  • -
tYR! - zdjęcie tYR! 19.02.2014

Tak jak w temacie. Gdy vip dostaje deagla posiada dwa pistolety deagla i usp/glocka, chciałbym aby usp/glock został wyrzucony, kiedy vip otrzyma deagla. Proszę o szybką pomoc. 

 

#if defined DEAGLE
fm_give_item(id, "weapon_deagle");
fm_give_item(id, "ammo_50ae");
fm_give_item(id, "ammo_50ae");
fm_give_item(id, "ammo_50ae");  
fm_give_item(id, "ammo_50ae");   
fm_give_item(id, "ammo_50ae");
#endif

 

Odpowiedz

  • +
  • -
tYR! - zdjęcie tYR! 19.02.2014

Przy kompilacji wyskakuje błąd.

 

vip.sma(128) : error 017: undefined symbol "StripWeapons"
vip.sma(128) : error 088: number of arguments does not match definition
Odpowiedz

  • +
  • -
tYR! - zdjęcie tYR! 19.02.2014

Poradziłem już sobie. Pan up plusik.

Odpowiedz