Jump to content
  • 0

The npc can change the size


ccp033102

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  05/31/13
  • Last Seen:  

http://pastebin.com/dKSXSF2n 

When the player logout and login again,the size becomes normal

And how can I fix the size

After login again, It still remain

 

I think it need create a SQL table?

But I don't know how to do this

Hope that someone can help me

Thanks a lot !!!!!!!! /kis2

Edited by ccp033102
Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

http://pastebin.com/dKSXSF2n 

login again,the size will become normal

And how can I fix the size

After login again It still here?

I think it need create a SQL table?

But I don't know how to do this

Hope that someone can help me

Thanks a lot !!!!!!!! /kis2

 

 

When player with size logout and then login again the size will remain?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  05/31/13
  • Last Seen:  

When player with size logout and then login again the size will remain?

 

Yes

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

 

When player with size logout and then login again the size will remain?

 

Yes

 

 

Can you try this one? http://pastebin.com/qg3b86ip

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  05/31/13
  • Last Seen:  

 

 

When player with size logout and then login again the size will remain?

 

Yes

 

 

Can you try this one? http://pastebin.com/qg3b86ip

I change the size and logout  

After the 2nd times login It become normal.

Edited by ccp033102
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

 

 

 

When player with size logout and then login again the size will remain?

 

Yes

 

 

Can you try this one? http://pastebin.com/qg3b86ip

I change the size and logout  

After the 2nd times login It become normal.

 

 

Here http://pastebin.com/qg3b86ip

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  05/31/13
  • Last Seen:  

 

 

 

 

When player with size logout and then login again the size will remain?

 

Yes

 

 

Can you try this one? http://pastebin.com/qg3b86ip

I change the size and logout  

After the 2nd times login It become normal.

 

 

Here http://pastebin.com/qg3b86ip

 

But when I change the size to larger ,login again it become small 

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

Hmm, something like this would probably work too.

-	script	size_changer	-1,{

	OnPCLoginEvent:
		if( my_size )
			atcommand "@size "+my_size;
		end;
		
	OnSizeMe:
		my_size = atoi( .@atcmd_parameters$ );
		if( my_size > 2 || my_size < 0 ) my_size = 0;
		atcommand "@size "+my_size;
		end;
		
	OnInit:
		bindatcmd "size","size_changer::OnSizeMe",0,99;
	
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  05/31/13
  • Last Seen:  

 

Hmm, something like this would probably work too.

-	script	size_changer	-1,{

	OnPCLoginEvent:
		if( my_size )
			atcommand "@size "+my_size;
		end;
		
	OnSizeMe:
		my_size = atoi( .@atcmd_parameters$ );
		if( my_size > 2 || my_size < 0 ) my_size = 0;
		atcommand "@size "+my_size;
		end;
		
	OnInit:
		bindatcmd "size","size_changer::OnSizeMe",0,99;
	
}

 

It is OK Thanks Skorm and Radian

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