Wormen Posted October 24, 2017 Share Posted October 24, 2017 سلام عليكم سويت لوجن بس ابيها اي شخص يسوي اكتر من 3 حسابات يكنسل و ما يساوي محاولتي addEvent("register",true) addEventHandler("register",getRootElement(), function ( thePlayer ) wormen2 = getPlayerSerial(thePlayer) wormen = getAccounts(wormen2) if wormen ~= 3 then outputChatBox("you have aready create 3 account ",thePlayer,255,255,255) else --addAccount لا تاخد بالك من هذا انا مسويها بالفعل المهم بدي تصحيح لل 3 حسابات فقط . end end) تصحيح لو سمحتو @MR.StoRm@TAPL Link to comment
1337.Ibrahim Posted October 24, 2017 Share Posted October 24, 2017 addCommandHandler("reg", function(player,cmd,name,pass) accSerial = getAccountsBySerial(getPlayerSerial(player)) if #accSerial >= 1 then outputChatBox("You have "..#accSerial.." accounts.",player,255,255,0) else accAdded = addAccount(name,pass) if accAdded then outputChatBox("Thank you "..getPlayerName(player)..", you're now registed, you can login with /login",player,0,255,0) else outputChatBox("Error creating account, contact the server admin",player,255,0,0) end end end ) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now