![]() |
How work Multisell in C4
In c1 work <a action="bypass -h multisell?id=4">
In c4 it's work with ask reply Question How made new multisell in c4? |
|
func[ShowMultisell]
func_call 184680529 In citizen class .. in MENU_SELECTED handler... you can see.... if (ask = -303) .... more code... ShowMultisell(reply, talker); so you can open a multisell in any NPC with <a action="bypass -h menu_select?ask=-303&reply=MULTISELL_ID"> |
Big thx FidoW
|
Can u make a complete list of things that i have to do for making multiseller pls? i tried hard but it never worked. when i linked the multisell.txt to a trader the shop didnt open..even not when i took the blacksmith of mammon with a completed multisell :(
thx |
then you make something wrong, because its REALLY EASY.
Simply edit any trader html and write there this: <a action="bypass -h menu_select?ask=-303&reply=MULTISELL_ID">NEW MENU WITH ITEM FOR SALE</a> now edit multisell.txt and make new section there: Code:
MultiSell_begin MULTISELL_IDremember last line of section must have 4x } .. all other 3x} + 1x; |
Quote:
I klick On The List and it doesent work... |
i tried it but its still not working. i created new section in multisell.txt and linked it with a htm but when i click the link in game nothing happens....
|
Quote:
|
so i managed to create one.
xoleum make backup of the multisell.txt, delete all the other entrys in the original multisell so that u only have the entry of ur own multiseller. then try if it works this way. if yes some other entry of ur multisell is broken. if not, check if u really made everything right. check if have a ; in the last line and if yes delete it. check if u wrote all the itemnames properly, check if u have ; everywhere they are needed, check if u have as many { as }.and make sure u restart server after u edited multisell.txt. i had some of these errors and now my multisell works fine :) |
<a action="bypass -h menu_select?ask=-303&reply=MULTISELL_ID">
Why can i say the menu_select?ask= is -303 ?? |
because it is so :D
its set so for the c4 servers....no paticular reason why....just for fun i guess....perhaps someone was bored and thought about such thing....u only need to know that is so everytime u wanna link to multisell....server knows then what he has to do |
| All times are GMT. The time now is 16:26. |