Sveiki,
Ar įmanomą padaryti, kad išvis nerodytų pinigų? Nes tai padarius ir darant round restartą, atsirandą pinigai, bet paskiau pradingsta kai baigiasi restartas t.y. keliom sekundėm jis atsiranda ir pradingsta.
HIDE_MONEY
- aaarnas
- Vyr. diskusijų administratorius
- Posts: 3891
- Joined: 2010 Aug 31 13:21
- Skype: fiarno
- Contact:
Re: HIDE_MONEY
Palikau CS pasaulį ;/ . Nebepasiekiamas.
- nuodas159
- Flooderis arba specialistas
- Posts: 522
- Joined: 2010 Sep 03 15:30
- Skype: nuodas159
- Location: SunCity
Re: HIDE_MONEY
Code: Select all
public Task_ShowRestart(taskid, id){ if(restart_count > 0) { // r, g, b, x, y, eff, time set_hudmessage(200, 0, 0, -1.0, 0.25, 0, 6.0, 0.1, 0.6, 0.7) show_hudmessage(0, "%L", LANG_SERVER, "RESTART_WILL", restart_count) } else if(restart_count == 0) { set_hudmessage(200, 0, 0, -1.0, 0.25, 1, 6.0, 6.0, 0.1, 1.5) show_hudmessage(0, "%L", LANG_SERVER, "RESTART", "RESTART") restarting = true server_cmd("sv_restart 1") message_begin(MSG_ONE, msg_hideweapon, _, taskid) write_byte(HIDE_MONEY) message_end() remove_task(taskid) } restart_count--}

Code: Select all
MSG_ONE or MSG_ONE_UNRELIABLE with no target entity
- aaarnas
- Vyr. diskusijų administratorius
- Posts: 3891
- Joined: 2010 Aug 31 13:21
- Skype: fiarno
- Contact:
Re: HIDE_MONEY
Ten kur taskid turi būti žaidėjo ID, kuriam šitas pakeitimas daromas.
Ten ne užduoties ID koks? Pagal error grąžina 0 man atrodo tenais.
Be to, nesurado didelio skirtumo, bet naudok MSG_ONE_UNRELIABLE
Ten ne užduoties ID koks? Pagal error grąžina 0 man atrodo tenais.
Be to, nesurado didelio skirtumo, bet naudok MSG_ONE_UNRELIABLE
Palikau CS pasaulį ;/ . Nebepasiekiamas.
- nuodas159
- Flooderis arba specialistas
- Posts: 522
- Joined: 2010 Sep 03 15:30
- Skype: nuodas159
- Location: SunCity
Re: HIDE_MONEY
Na nežinau kažkodėl neveikia.aaarnas wrote:Ten kur taskid turi būti žaidėjo ID, kuriam šitas pakeitimas daromas.
Ten ne užduoties ID koks? Pagal error grąžina 0 man atrodo tenais.
Be to, nesurado didelio skirtumo, bet naudok MSG_ONE_UNRELIABLE
Code: Select all
if(pev(id,pev_flags) & FL_CLIENT) { message_begin(MSG_ONE_UNRELIABLE, msg_hideweapon, _, id) write_byte(HIDE_MONEY) message_end() }
- aaarnas
- Vyr. diskusijų administratorius
- Posts: 3891
- Joined: 2010 Aug 31 13:21
- Skype: fiarno
- Contact:
Re: HIDE_MONEY
Kam tas fl_client? Bent iškviečiama ta vieta?
Palikau CS pasaulį ;/ . Nebepasiekiamas.
Who is online
Users browsing this forum: Bing [Bot] and 2 guests