Страница 1 от 1

Map present system (zp 4.3 ammopack & money system)

Публикувано на: 25 Яну 2019, 14:55
от Kvothe
First: İf your server money sistem download KH_System_Xmas.sma
If your server ammopack system download KH_System_Xmas_ammopack.sma (no need money.inc)

This plugin add map random present. This plugin running zombie plague 4.3
add present map
1- go to map location and say add_xmas
2- if your delete say del_xmas
3- say save_xmas
Thats all.

plugin gift second: How many seconds can you take (3 minutes)

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

 g_delay2[id] = gametime + 180.0

added new items or weapon : (look scripts in)

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

//------------------------------------------------------------------------------------
//* If you add weapon or item. Example
// task 1 - native give_weapon_m82(id)  (plugin m82 native code)
// task 2 - add case last ( look m82 case 6)
// task 3 - cvar[33][6] change to cvar[33][7]
// task 4 - line 92     switch(random_num(0, 6)) change to     switch(random_num(0, 7))
//------------------------------------------------------------------------------------

Present xmas (edit dresden)

Публикувано на: 25 Яну 2019, 15:04
от OciXCrom
Why does it require zombie_plague.inc?
Where is money.inc?
This won't work on AMXX 1.9.

Present xmas (edit dresden)

Публикувано на: 25 Яну 2019, 15:10
от Kvothe
Sorry. im new users and i don't understand too much scripting. This my server plugins and perfect running. I wanted to share

Present xmas (edit dresden)

Публикувано на: 25 Яну 2019, 15:29
от OciXCrom
If you want to share something, you need to be able to support it or at least give some information on how it works and what it requires. You didn't mention that it requires Zombie Plague and where do these natives come from:

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

native gold_give(id)
native zp_cs_get_user_money(id)
native zp_cs_set_user_money(id , value)
The plugin won't work without the plugins that register these natives. Also, it's 2019 and we shouldn't post plugin that won't work on AMXX 1.9 (the latest version). I'm moving this to the unapproved section since you can't fix the problems as you're not a scripter.

Present xmas (edit dresden)

Публикувано на: 25 Яну 2019, 16:15
от Kvothe
you are right. Edit plugins first message and added resource