hmm thank you
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: DeViL_JiN on Dec 06, 2015, 08:40 AMQuote from: mmujtaba24 on Dec 06, 2015, 05:53 AMsorry for this post now i don't need ready scripts.I wan't to learn how to do scripts and ,I learn many things like context and scoping from SLC video tutorial.i didn't understand the all tutorial becuz my english is week..so i need some easy tutorial like where i use codes etc...in that case improving your English is the best option you have, after that rely on scripting?
function onPlayerCommand( player, cmd, text )
if( cmd == "register" ){
if( !text ){
MessagePlayer( "Syntax Error!", player );
MessagePlayer( "Correct syntax: /register <password>", player );
}
else if( pstats[ player.ID ].Level != 0 )MessagePlayer( " This account is already Registered", player );
else if( pstats[ player.ID ].Logged == true ){
MessagePlayer( "You are already logged in.", player );
}
else{
pstats[ player.ID ].Register( player, text, sqliteDB );
}
}