rbO Posted April 22, 2015 Posted April 22, 2015 when one player digit @mainpoint he will return to save point.. help me Quote
rbO Posted April 23, 2015 Author Posted April 23, 2015 (edited) - script At_mainpoint -1,{ OnInit: bindatcmd "mainpoint",strnpcinfo(3)+"::OnMainpoint"; end; OnMainpoint: dispbottom "You current save is : "+getsavepoint(0)+" , "+getsavepoint(1)+" , "+getsavepoint(2); atcommand "@return "+strcharinfo(0); end; } like this thx Edited April 23, 2015 by rbO Quote
Kurofly Posted April 22, 2015 Posted April 22, 2015 (edited) - script At_mainpoint -1{ OnInit: bindatcmd "mainpoint",strnpcinfo(3)+"::OnMainpoint"; end; OnMainpoint: dispbottom "You current save is : "+getsavepoint(0)+" , "+getsavepoint(1)+" , "+getsavepoint(2) } pretty simple Edited April 22, 2015 by Kurofly Quote
Kurofly Posted April 22, 2015 Posted April 22, 2015 oops - script At_mainpoint -1{ OnInit: bindatcmd "mainpoint",strnpcinfo(3)+"::OnMainpoint"; end; OnMainpoint: dispbottom "You current save is : "+getsavepoint(0)+" , "+getsavepoint(1)+" , "+getsavepoint(2); } just forgot to put a ';' at the end of dispbottom Quote
rbO Posted April 22, 2015 Author Posted April 22, 2015 have another problem, this command only know: "Your current sai is: ...", but dont warp for point Quote
Kurofly Posted April 22, 2015 Posted April 22, 2015 ahh I thought you wanted to display the save point. Why don't you use the @load command? Quote
rbO Posted April 23, 2015 Author Posted April 23, 2015 because i prefer this command with this "Your current sai is: ..." Quote
Rosemount Posted April 23, 2015 Posted April 23, 2015 (edited) Like this - script At_mainpoint -1{ OnInit: bindatcmd "mainpoint",strnpcinfo(3)+"::OnMainpoint"; end; OnMainpoint: atcommand "@return "+strcharinfo(0); end; } Edited April 23, 2015 by Rosemount Quote
Question
rbO
when one player digit @mainpoint he will return to save point.. help me
8 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.