Jump to content

Question

Posted (edited)

i want to make npc that when he detect the player in log in a vip it will automatically set the aura to 16 and but if it's not vip or the vip is expired it will be back the aura to 0

- script aura_atcommand -1,{
OnPCLoginEvent:
if(vip_status(0)) 
atcommand "@aura 0";
}
- script aura_atcommand -1,{
OnPCLoginEvent:
if(vip_status(1)) 
atcommand "@aura 16";
}

What's wrong with it

 

 

Edited by simplexjay2

1 answer to this question

Recommended Posts

Posted (edited)

Try this...

-	script	aura_atcommand	-1,{
OnPCLoginEvent:
	if(vip_status(0)){
		atcommand "@aura 0";
		end;
	}
}
-	script	aura_atcommand	-1,{
OnPCLoginEvent:
	if(vip_status(1)){
		atcommand "@aura 16";
		end;
	}
}
Edited by Lelouch vi Britannia

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...