Jump to content
  • 0

Help needed please


toohot22

Question


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  56
  • Reputation:   0
  • Joined:  11/05/12
  • Last Seen:  

Hi im useing this script

 

prontera,155,181,5	script	Jman	704,{
if( getgmlevel() < 80 ){
	mes "Sorry i wont serve you.";
}else{
	mes "Hi, i am Event Manager";
	mes "So, who is the Winner ?";
	mes "Enter his/her name.";
	mes "Must be a Online Char";
	mes "Insert ^FF0000CANCEL^000000 to cancel";
	do{
		input .@Name$;
	}while( compare( .@Name$,"CANCEL" ) || !isloggedin( getcharid( 3,.@Name$ ) ) );
	mes "How many Point will be given ?";
	input .@Points;
	next;
	mes "Name : ^FF0000"+.@Name$+"^00000";
	mes "Point : ^FF0000"+.@Points$+"^00000";
	if( select("Yes:No") == 1 ){
		close2;
		message .@Name$,"You have been rewarded with "+.@Points+" Points.";
		attachrid( getcharid( 3,.@Name$ ) );
		set #EVENTPOINTS,#EVENTPOINTS + .@Points;
		end;
	}
}
close;
}

And it was working but now after a revision its not working i click the npc add players name and amount and send players gets message but theres no point when they check is there another way to do this even without the sctips i tryed #points and #cash but both say player not found but the player is online right by me

 

if anyone has another script to give cash points please can you send me a copy or if you can fix this one thanks

 

thanks inadvance

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  


attachrid( getcharid( 3,.@Name$ ) );

set #EVENTPOINTS,#EVENTPOINTS + .@Points;

dispbottom "Point : "+#EVENTPOINTS;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...