ccp033102 Posted November 30, 2014 Posted November 30, 2014 (edited) 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 !!!!!!!! Edited November 30, 2014 by ccp033102 Quote
Radian Posted November 30, 2014 Posted November 30, 2014 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 !!!!!!!! When player with size logout and then login again the size will remain? Quote
ccp033102 Posted November 30, 2014 Author Posted November 30, 2014 When player with size logout and then login again the size will remain? Yes Quote
Radian Posted November 30, 2014 Posted November 30, 2014 When player with size logout and then login again the size will remain? Yes Can you try this one? http://pastebin.com/qg3b86ip Quote
ccp033102 Posted December 1, 2014 Author Posted December 1, 2014 (edited) 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 December 1, 2014 by ccp033102 Quote
Radian Posted December 1, 2014 Posted December 1, 2014 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 Quote
ccp033102 Posted December 1, 2014 Author Posted December 1, 2014 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 Quote
Skorm Posted December 1, 2014 Posted December 1, 2014 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; } Quote
ccp033102 Posted December 1, 2014 Author Posted December 1, 2014 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 Quote
Question
ccp033102
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 !!!!!!!!
Edited by ccp0331028 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.