i want to make Npc take cps and give me box then box on click back the cps
i tried to code it but didn`t succsess
and tried to make npc give me level for cps , also like reward .....
PHP Code:
REPLACE INTO cq_npc VALUES(924719, 0, 0, "LevelMe", 0002, 7790, -1, 1036, 0180, 0189, 668861 ,
0,0,0,0,0,0,0, 0,0,0,0, "", 0, 00, 00, 0000, 00, 0000 );
##############################
REPLACE INTO cq_task VALUES (668861,668861,0000,"","",0,0,0,0,1000,0000,0000,0,-1,0);
REPLACE INTO cq_task VALUES (668862,668862,0000,"","",0,0,0,0,1000,0000,0000,0,-1,0);
REPLACE INTO cq_task VALUES (668863,668863,0000,"","",0,0,0,0,1000,0000,0000,0,-1,0);
REPLACE INTO cq_task VALUES (668864,668864,0000,"","",0,0,0,0,1000,0000,0000,0,-1,0);
#######################
REPLACE INTO cq_action VALUES (668861,668862,0000,0101,0,"Hey~%user_name%~I~Try~To~Level~You~To~255" );
REPLACE INTO cq_action VALUES (668862,668863,0000,0102,0,"Yes Level Me. 668864");
REPLACE INTO cq_action VALUES (668863,15003,0000,0102,0,"later. 0");
######################
REPLACE INTO cq_action VALUES (668864,0000,0000,0127,0000,"update cq_user set level= level+1 where id=%user.id");






