Jump to content

مساعدة


Wormen

Recommended Posts

سلام عليكم سويت لوجن بس ابيها اي شخص يسوي اكتر من 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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...