NPC 5095

08/17/2020 10:15 Abdalla.Design#1
trying to make my first Npc in 5095 , lol :D
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 :D

and tried to make npc give me level for cps , also like reward .....

PHP Code:
REPLACE INTO cq_npc VALUES(92471900"LevelMe"00027790, -1103601800189668861 
  
0,0,0,0,0,0,0,  0,0,0,0""000000000000000 );
############################## 
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");