Convidado Convidado
| Assunto: Script Nadar Ter 28 Jun 2011, 17:39 | |
| Abra o seu Principal.txt ou Main.txt procure por : - 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 ! |
|