help at quest

03/25/2014 23:12 galal2900#1
i made npc when i click it donate 5k hp it is work fine
my hp80 when it take 5k hp my hp 0 but i dont die
what action i want to use to let the char die if he is 0hp
03/26/2014 00:33 .Horror.#2
Like i told you on skype , there isnt an action to kill a player , you have to make an action to send them back to x map.
03/26/2014 01:08 galal2900#3
can i made it dont go under 1 hp plz?
or he cant choose 5k if he is low than 5k hp?

Quote:
INSERT INTO `cq_action` VALUES
('99000011', '99000012', '99000015', '1001', '0', 'life >= 5001'),
('99000012', '99000013', '0000', '1001', '0', 'life += -5000'),
('99000013', '99000014', '0000', '0501', '727014', ''),
('99000014', '0', '0000', '0126', '0', 'Congratulations! You have donated blood! and recevid key1'),
('99000015', '0', '0000', '0126', '0', 'You~dont~have~enough~Blood~to~Donate!');
can any1 tell me the problem here
i wanna let players lowerthan 5k hp dont use it
must be more than 5k hp
03/27/2014 04:20 PowerChaos#4
try this comand
Code:
INSERT INTO `cq_action` VALUES
('99000011', '99000012', '99000015', '1001', '0', 'life > '5001'),
('99000012', '99000013', '0000', '1001', '0', 'life += -5000'),
('99000013', '99000014', '0000', '0501', '727014', ''),
('99000014', '0', '0000', '0126', '0', 'Congratulations! You have donated blood! and recevid key1'),
('99000015', '0', '0000', '0126', '0', 'You~dont~have~enough~Blood~to~Donate!');
basically instead saying is equal to or greater just use greater then

sadly enough i am out of the coding for eo for a long time ( i do website part )
but hopely this can help xD
or just code the other way around

instead saying that it is greater then X , just check if it is lower then X and denie if it is lower or continue if it is not lower (if it is easyer )

Greetings From PowerChaos