Procure no Principal ou Main:
e adicione no lugar q achar melhor :
OBS:
Créditos: GamesPower.
Créditos: Thales12.
- Código:
Sub Commands(index)On Error Resume NextDim PortalDim mapnumDim xDim yDim iDim TextSayDim nDim mDim C m = GetVar("Dados.ini", "MAX", "MAX_MAPS")TextSay = GetVar("Scripts\Comandos.ini", "TEMP", "Text" & index)
e adicione no lugar q achar melhor :
- Código:
If LCase(Mid(TextSay, 1, 10)) = "/mudarnome" ThenIf Len(TextSay) > 11 ThenIf GetPlayerAccess(index) < 1 ThenCall PlayerMsg(index, "Você não tem acesso o suficiente para usar este comando!!", 4)Exit SubEnd Ifn = Mid(TextSay, 11, Len(TextSay) - 10)If n <> "" ThenCall SetPlayerName(index, n)Call PlayerMsg(index, "Nome alterado para:" & n, 0)Call SendPlayerData(index)Call SendOnlineListElseCall PlayerMsg(index, "Please type a name.", 15)End IfEnd IfExit SubEnd If
OBS:
- Código:
If GetPlayerAccess(index) < 1 Then é o acesso q precisa para poder usar o comando.
Créditos: GamesPower.
Créditos: Thales12.