Jump to content
  • 0
Sign in to follow this  
Break San

command update view

Question

I am creating a script for the server rank first put into it an appearance, most need a command to let this fixed appearance until reset the rank of pvp, even if he exchange hat stays with her.

 

setlook 4, 3218;

 

leaves the fixed item until reset the rank again

OnPCLoginEvent:	query_sql "SELECT `nome`, `lider` FROM `pvp_arenas` WHERE `lider`= '1'",@nome$,@lider;	if(@lider == 1) {	query_sql "SELECT `lider` FROM `char` WHERE `name`='"+strcharinfo(0)+"'",@premio;		if(@premio == 1) { 			getitem 665,1;			dispbottom "Hii !!!.";			query_sql "UPDATE `char` set `lider` = '0'";                        setlook 4, 3218;			}	}	end;

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.