Script Nadar
Página 1 de 1 • Compartilhe •
Script Nadar
Abra o seu Principal.txt ou Main.txt procure por :
Em baixo add:
OBS: e preciso ter a sprite do personagem nadando !
- Código:
TextSay = GetVar("Scripts\Comandos.ini", "TEMP", "Text" & index)
Em baixo add:
- Código:
If LCase(Trim(TextSay)) = "/nadar" Then ' comando para ele nadar
If GetPlayerAccess(index) >= 1 then ' se ele é vip
If GetPlayerClass(index) = 11 then ' se ele for a classe 1
If GetPlayerSprite(index) = 315 then ' se ele estiver com a sprite normal(5)
Call SetPlayerSprite(index,316) ' vira a sprite de nadar n° 6
Call SendPlayerData(index) ' atualiza o player
Call PlayerMsg(index,"Precisa ser VIP",brightcyan) ' se ele não for VIP
Exit Sub
End If
End If
End If
End If
OBS: e preciso ter a sprite do personagem nadando !
Thales12- Mensagens : 182
Página 1 de 1
Permissão deste fórum:
Você não pode responder aos tópicos neste fórum