Half-Life и Adrenaline Gamer форум
http://aghl.ru/forum/

Half Life Point System v2.2
http://aghl.ru/forum/viewtopic.php?f=19&t=2060
Страница 1 из 2

Автор:  Kuma77 [ 25 янв 2015, 01:20 ]
Заголовок сообщения:  Half Life Point System v2.2

Half Life Point System v2.2

Updated 19 jun 2015

Info :

Author : Kuma
Version : v2.2

Requirement :

AMX Mod X 1.8.1 or high .

Discription :

With this plugin players can get points by killing , this is looks like Counter Strike 1.6 Money System, will saved by steamid by using nvault Module

Commands

amx_setpoint <target> <amount> , Admin can give points to players
say /shop - Display Shop Menu
say /cash - Display how much points you have
Cvars :

ps_save = "1/0" // Save ON/OFF
ps_save_id = "1/0" // Save by steamid or ip .

Credit : :

Sam Tsuki (some helpfull codes) .

Install :

Hudmsg.txt on addons/amxmodx/data/lang/
hlps.amxx on addons/amxmodx/plugins/

Change log :

Код:

* 1) v1.0 First released .
* 2) Added more items .
* 3) Fix invisible bug . (Beta version)
* 4) Fix Spam message
* 5) Fix some bugs
* 6) Remove Vip
* 7) Added +points by Hit Group ( wich means if you hit Head you'll get high points etc ..)
* 8) Update Cvars .
* 9) Added amx_setpoint command .
* 10) Added Sound for Unlocked items & Fix Hud .
* 11) v2.2 - Replace Noclip to All Weapons , becouse of Noclip make problems when player stuck out of map .


NOTE : Players cant get points by killing bots

Feel free to report any error .

Вложения:
Hudmsg.txt [37 байт]
Скачиваний: 384
Скачать плагин или Скачать исходник [hlps.sma - 18.42 КБ]
Скачиваний: 620

Автор:  smurfavr [ 25 янв 2015, 05:23 ]
Заголовок сообщения:  Re: Money System + Shop items for Half-Life

Что можно купить за деньги?
Может деньги должны быть сохранены на имя игрока?

Автор:  Kuma77 [ 25 янв 2015, 05:52 ]
Заголовок сообщения:  Re: Money System + Shop items for Half-Life

English please :)
smurfavr писал(а):
Что можно купить за деньги?

Yes money can buy just type /shop for display shop menu then u can buy , and surprise ( players can buy VIP with money they get from kill )

VIP item is just will remove on next update

smurfavr писал(а):
Может деньги должны быть сохранены на имя игрока?
Only by steamid , and may ip addresse for non steam player , becouse players will cheat and steal names then we want protect money ( i hope you understand )

Автор:  abdobiskra [ 25 янв 2015, 11:54 ]
Заголовок сообщения:  Re: Money System + Shop items for Half-Life

Good job that will try :good:

Автор:  Expade [ 01 фев 2015, 04:14 ]
Заголовок сообщения:  Re: Money System + Shop items for Half-Life

VIP-плагины дошли и до AGHL? :scratch:

Автор:  Kuma77 [ 02 фев 2015, 21:00 ]
Заголовок сообщения:  Re: Money System + Shop items for Half-Life

Expade писал(а):
VIP-плагины дошли и до AGHL? :scratch:

I dont understand u , but i hide vip from menu becouse some dont like to give vip on his server
if some one want i will post how to unlock vip for menu

then , am lazy to update plugin it have some bugs

Автор:  glmmlg [ 28 май 2015, 00:14 ]
Заголовок сообщения:  Re: Money System + Shop items for Half-Life

hmmm i play with 1 bot and when i leave i catch this error in console

Код:
L 05/27/2015 - 20:12:27: Player 2 not in game
L 05/27/2015 - 20:12:27: [AMXX] Displaying debug trace (plugin "HLBS.amxx")
L 05/27/2015 - 20:12:27: [AMXX] Run time error 10: native error (native "next_hudchannel")
L 05/27/2015 - 20:12:27: [AMXX]    [0] c1b4076d465f8df1e4cf34cd08504596.sma::cpt (line 295)

Автор:  Lev [ 28 май 2015, 00:20 ]
Заголовок сообщения:  Re: Money System + Shop items for Half-Life

Add a line
Код:
if (!is_user_connected(id)) return;
into cpt function:
Код:
public cpt(id)
{
if (!is_user_connected(id)) return;

Автор:  glmmlg [ 28 май 2015, 00:50 ]
Заголовок сообщения:  Re: Money System + Shop items for Half-Life

Tnx Lev :D :) :*

Posted after 1 hour 2 minutes 5 seconds:
how to change second`s to "invisible" and "godmode" ?

Автор:  Lev [ 28 май 2015, 02:37 ]
Заголовок сообщения:  Re: Money System + Shop items for Half-Life

I didn't get a question.

Страница 1 из 2 Часовой пояс: UTC + 5 часов [ Летнее время ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/