Olá pessoal estou trazendo um npc bem legal o Npc vote, ele funcionar assim ele ficara em Twin City (428,382) Clike nele e Vote Claro é um npc pra votar, ai quem votar vai ganhar 250k mais so poder votar uma vez no dia e tem que ser nivel 70 pra cima.
INSERT INTO `cq_npc` VALUES ('123645', '0', '0', 'ServerVote', '2', '8040', '-1', '1002', '428', '382', '5846200', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'None', '0', '0', '0', '0', '0', '0');
#
# 12 Hour Check
#
INSERT INTO `cq_action` VALUES ('5846200', '5846201', '5846500', '1073', '0','stc(44,31) == 0');
INSERT INTO `cq_action` VALUES ('5846500', '5846201', '5846600', '1081', '0', 'interval(44,31,0) >= 43200');
INSERT INTO `cq_action` VALUES ('5846201', '5846202', '0', '1074', '0', 'stc(44,31) = 1 1');
INSERT INTO `cq_action` VALUES ('5846202', '5846203', '0', '1080', '0', 'timestamp(44,31) set 0');
INSERT INTO `cq_action` VALUES ('5846203', '5846700', '5846204', '1001', '0', 'Level < 70');
#
# Error
#
INSERT INTO `cq_action` VALUES ('5846600', '5846601', '0', '101', '0', 'NAW~NIKKA!!!~You\'ve~voted already~in~the~past~12~hours.~Wait~12~hours~from~your~previous~vote~before~you~vote~again.');
INSERT INTO `cq_action` VALUES ('5846601', '15003', '0', '102', '0', 'Ahhh~aight! 0');
#
# Error
#
INSERT INTO `cq_action` VALUES ('5846700', '5846701', '0', '101', '0', 'Sorry~nikka.~But~for~security~purposes,~you\'re~character~must~be~level~70+~in~order~to~claim~voting~CPs');
INSERT INTO `cq_action` VALUES ('5846701', '15003', '0', '102', '0', 'Ahhh~aight! 0');
#
# NPC Dialogue
#
INSERT INTO `cq_action` VALUES ('5846204', '5846205', '0', '101', '0', 'Hi~there.~You~can~vote~for~us~every~12~hours~and~claim~250k~CPs!');
INSERT INTO `cq_action` VALUES ('5846205', '5846206', '0', '102', '0', 'Vote! 5846800');
INSERT INTO `cq_action` VALUES ('5846206', '15003', '0', '102', '0', 'Naw~thanks 0');
#
# Reward
#
INSERT INTO `cq_action` VALUES ('5846800', '5846801', '0', '1001', '0', 'e_money += 250000');
INSERT INTO `cq_action` VALUES ('5846801', '5846802', '0', '1041', '0', '[LINK HERE]');
#
# System Message
#
INSERT INTO `cq_action` VALUES ('5846802', '0', '0', '125', '2011', 'Congratulations! %user_name has voted for [SERVER NAME] and claimed 250k CPs!!!');
#
INSERT INTO `cq_task` VALUES ('5846200', '5846200', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846201', '5846201', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846202', '5846202', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846203', '5846203', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846204', '5846204', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846205', '5846205', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846206', '5846206', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846500', '5846500', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846600', '5846600', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846601', '5846601', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846700', '5846700', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846701', '5846701', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846800', '5846800', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846801', '5846801', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');
INSERT INTO `cq_task` VALUES ('5846802', '5846802', '0', "", "", '0', '0', '0', '0', '1000', '0', '0', '0', '-1', '0');