text plugin
Lehekülg 1, lehekülgi kokku 1 • Share
- ssandJuunior
- Liitus : 09/06/2016
Postitusi : 53
Hello please i want add THis in txt
zp_auto_respawn.txt
zp_auto_respawn.txt
- Kood:
}
public respawn_player(id){
client_print(id,print_chat,"[ZP] %L",LANG_PLAYER," You Have Been Revived");
zp_respawn_user(id,ZP_TEAM_ZOMBIE);
}
- S0XLiige
- Liitus : 10/01/2013
Postitusi : 220
Add a register dictionary line to your plugin_init in your script. Don't delete other lines, just add a line:
And then edit the code you send to us:
Then add in your zp_auto_respawn.txt file line like this:
[en]
RESPAWN_PLAYER = And here put your text, what you want to show to players
- Kood:
public plugin_init() {
register_dictionary("zp_auto_respawn.txt")
}
And then edit the code you send to us:
- Kood:
public respawn_player(id){
client_print(id, print_chat, "[ZP] %L", LANG_PLAYER, "RESPAWN_PLAYER", id)
zp_respawn_user(id,ZP_TEAM_ZOMBIE);
}
Then add in your zp_auto_respawn.txt file line like this:
[en]
RESPAWN_PLAYER = And here put your text, what you want to show to players
- ssandJuunior
- Liitus : 09/06/2016
Postitusi : 53
i try this but still not work [en]
RESPAWN_PLAYER = And here put your text, what you want to show to players
RESPAWN_PLAYER = And here put your text, what you want to show to players
- ssandJuunior
- Liitus : 09/06/2016
Postitusi : 53
Viimati muutis seda ssand (05.07.16 16:28). Kokku muudetud 1 kord
- ssandJuunior
- Liitus : 09/06/2016
Postitusi : 53
http://www11.zippyshare.com/v/kbgo74OL/file.html
i want txt to This , i try add [en]
RESPAWN_PLAYER = And here put your text, what you want to show to players
but not Work pls help guys !!
i want txt to This , i try add [en]
RESPAWN_PLAYER = And here put your text, what you want to show to players
but not Work pls help guys !!
- S0XLiige
- Liitus : 10/01/2013
Postitusi : 220
Don't edit .txt file. Replace it in data/lang folder.
Example: Make .txt file called zp_auto_respawn to your desktop. Add line to it:
[en]
RESPAWN_PLAYER = And here put your text, what you want to show to players.
Delete zp_auto_respawn.txt file from your server's data/lang folder. Transfer zp_auto_respawn.txt that you have on desktop to your server's data/lang folder. Restart server.
When you do all points like i said including scripting from my previous post, it works.
Example: Make .txt file called zp_auto_respawn to your desktop. Add line to it:
[en]
RESPAWN_PLAYER = And here put your text, what you want to show to players.
Delete zp_auto_respawn.txt file from your server's data/lang folder. Transfer zp_auto_respawn.txt that you have on desktop to your server's data/lang folder. Restart server.
When you do all points like i said including scripting from my previous post, it works.
- ssandJuunior
- Liitus : 09/06/2016
Postitusi : 53
i do it
creat new file txt zp_auto_respawn and add Code
[en]
RESPAWN_PLAYER = You Have been Revived
then i go to data/lang and add file , but not work
i think this code u give is not work
can u try it ?
sma of plugin : http://www70.zippyshare.com/v/XefowC8H/file.html
creat new file txt zp_auto_respawn and add Code
[en]
RESPAWN_PLAYER = You Have been Revived
then i go to data/lang and add file , but not work
i think this code u give is not work
can u try it ?
sma of plugin : http://www70.zippyshare.com/v/XefowC8H/file.html
- S0XLiige
- Liitus : 10/01/2013
Postitusi : 220
Of course your plugin doesn't work, when you didn't put code like i gave to you.
Your line in .sma is:
But i gave to you:
You had to copy all the code as i gave, but you didn't.
Of course it cannot find a lang line as you mentoned in script that it has to take line from: YOU_HAVE_BEEN_REVIVED ,but it has to be from RESPAWN_PLAYER
I edited .sma and text file and here they are for you:
http://www20.zippyshare.com/v/heHhA9Ou/file.html
http://www103.zippyshare.com/v/0lUtdaWp/file.html
Your line in .sma is:
- Kood:
client_print(id,print_chat,"[ZP] %L",LANG_PLAYER,"YOU_HAVE_BEEN_REVIVED")
But i gave to you:
- Kood:
client_print(id, print_chat, "[ZP] %L", LANG_PLAYER, "RESPAWN_PLAYER", id)
You had to copy all the code as i gave, but you didn't.
Of course it cannot find a lang line as you mentoned in script that it has to take line from: YOU_HAVE_BEEN_REVIVED ,but it has to be from RESPAWN_PLAYER
I edited .sma and text file and here they are for you:
http://www20.zippyshare.com/v/heHhA9Ou/file.html
http://www103.zippyshare.com/v/0lUtdaWp/file.html
- ssandJuunior
- Liitus : 09/06/2016
Postitusi : 53
Ok Thank You
Contact me in Skype : nohel122
i want ask u something .
Contact me in Skype : nohel122
i want ask u something .
Soovid vestluses osaleda?
Selleks logi sisse või tee endale kasutaja.
Lehekülg 1, lehekülgi kokku 1
Permissions in this forum:
Sa ei saa vastata siinsetele teemadele