Автор |
Сообщение |
|
|
Заголовок сообщения: |
Re: ResetScore |
|
|
He can post it by himself. He is moderator. But we just try to tell you how it should be written to do correct things. So you could write better plugins. Try to learn.
He can post it by himself. He is moderator. :) But we just try to tell you how it should be written to do correct things. So you could write better plugins. Try to learn.
|
|
|
|
Добавлено: 05 сен 2011, 22:37 |
|
|
|
|
|
Заголовок сообщения: |
Re: ResetScore |
|
|
KORD_12.7 писал(а): shitez, your code is wrong KORD do it how to be a good and give me your skype to send me and I will post the new plugin ok ?
[quote="KORD_12.7"][b]shitez[/b], your code is wrong :cry:[/quote]
[b]KORD [/b] do it how to be a good and give me your skype to send me and I will post the new plugin ok ?
|
|
|
|
Добавлено: 05 сен 2011, 21:21 |
|
|
|
|
|
Заголовок сообщения: |
Re: ResetScore |
|
|
shitez писал(а): My server is with this plugin everything is ok just say /rs and score reset to 0 Try to kill yourself after this and look at your death. You'll see you was wrong
[quote="shitez"]My server is with this plugin everything is ok just say /rs :) and score reset to 0[/quote]
Try to kill yourself after this and look at your death. You'll see you was wrong :)
|
|
|
|
Добавлено: 05 сен 2011, 20:22 |
|
|
|
|
|
Заголовок сообщения: |
Re: ResetScore |
|
|
shitez, your code is wrong
[b]shitez[/b], your code is wrong :cry:
|
|
|
|
Добавлено: 05 сен 2011, 17:40 |
|
|
|
|
|
Заголовок сообщения: |
Re: ResetScore |
|
|
unnamed писал(а): Код: public client_putinserver(id) set_task(5.0, "ResetScoreMsg"); public ResetScoreMsg(id){ if(is_user_connected(id)) client_print( 0, print_chat, "[Reset Score] To reset your score type /rs or /resetscore" ) } Это не будет работать. Ты не передаешь id игрока в функцию ResetScoreMsg. И везде использовать client_print( 0, print_chat, ... плохая идея. My server is with this plugin everything is ok just say /rs and score reset to 0
[quote="unnamed"][code]public client_putinserver(id) set_task(5.0, "ResetScoreMsg"); public ResetScoreMsg(id){ if(is_user_connected(id)) client_print( 0, print_chat, "[Reset Score] To reset your score type /rs or /resetscore" ) }[/code]
Это не будет работать. Ты не передаешь id игрока в функцию ResetScoreMsg. И везде использовать client_print( [color=#FF0000]0[/color], print_chat, ... плохая идея.[/quote]
My server is with this plugin everything is ok just say /rs :) and score reset to 0
|
|
|
|
Добавлено: 05 сен 2011, 17:01 |
|
|
|
|
|
Заголовок сообщения: |
Re: ResetScore |
|
|
Код: public client_putinserver(id) set_task(5.0, "ResetScoreMsg"); public ResetScoreMsg(id){ if(is_user_connected(id)) client_print( 0, print_chat, "[Reset Score] To reset your score type /rs or /resetscore" ) } Это не будет работать. Ты не передаешь id игрока в функцию ResetScoreMsg. И везде использовать client_print( 0, print_chat, ... плохая идея.
[code]public client_putinserver(id) set_task(5.0, "ResetScoreMsg"); public ResetScoreMsg(id){ if(is_user_connected(id)) client_print( 0, print_chat, "[Reset Score] To reset your score type /rs or /resetscore" ) }[/code]
Это не будет работать. Ты не передаешь id игрока в функцию ResetScoreMsg. И везде использовать client_print( [color=#FF0000]0[/color], print_chat, ... плохая идея.
|
|
|
|
Добавлено: 05 сен 2011, 12:02 |
|
|
|
|
|
Заголовок сообщения: |
Re: ResetScore |
|
|
Не работает обнуление смертей в ХЛ. Код: set_pdata_int(id, 444, i_NewDeaths); -> Код: set_pdata_int(id, 377, i_NewDeaths);
Не работает обнуление смертей в ХЛ.
[code]set_pdata_int(id, 444, i_NewDeaths);[/code]
->
[code]set_pdata_int(id, 377, i_NewDeaths);[/code]
|
|
|
|
Добавлено: 05 сен 2011, 11:58 |
|
|
|
|
|
Заголовок сообщения: |
ResetScore |
|
|
this plugin deleted
this plugin deleted
|
|
|
|
Добавлено: 05 сен 2011, 01:17 |
|
|
|