Convidado Convidado
| Assunto: como colocar transformaoes tipo goku ja tem falta os outros tipo vegeta ,ghoan e etc Sáb 18 Set 2010, 18:06 | |
| por favor ajudem
como colocar transformaoes nos outros chars |
|
Lucas Roberto Administrador
Mensagens : 711
| Assunto: Re: como colocar transformaoes tipo goku ja tem falta os outros tipo vegeta ,ghoan e etc Dom 19 Set 2010, 10:32 | |
| | |
|
Convidado Convidado
| Assunto: Re: como colocar transformaoes tipo goku ja tem falta os outros tipo vegeta ,ghoan e etc Dom 19 Set 2010, 13:35 | |
| vo explicar -
eu quero saber como colocar transformaçoes nas outras classes |
|
Lucas Roberto Administrador
Mensagens : 711
| Assunto: Re: como colocar transformaoes tipo goku ja tem falta os outros tipo vegeta ,ghoan e etc Dom 19 Set 2010, 14:00 | |
| ata entendi bem facil vai no Principal onde esda o tranformaçao do goku coleque abaixo ae voce vai fazendo quantas tranformaçoes quizer bem simples codigoEsse e de Tranformaçoes - Código:
-
If Lcase(Trim(TextSay)) = "/ssj" Then If GetPlayerClass (index) = 1 Then If GetPlayerLevel(index) => 25 Then If GetPlayerSprite(index) = 0 Then Call SetPlayerSprite(index, 1) Call SetPlayerSTR(Index, GetPlayerSTR(Index) + 50) Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50) Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) +50) Call SetPlayerMAGI(Index, GetPlayerMAGI(index) +50) Call PlaySound(Index, "ssjtransform.wav") Call PlayerMsg(index, "Você virou ssj!", 4) Call PlayerWarp (index, GetPlayerMap(index), GetPlayerX(index), GetPlayerY(index),False) Exit Sub End If End If End If End If tutorial do codigo - Citação :
- If Lcase(Trim(TextSay)) = "/ssj" Then ( comando para se transfomar)
If GetPlayerClass (index) = 1 Then (a Classe q vai transfomar) If GetPlayerLevel(index) => 25 Then ( o lvl q precisa para se transformar) If GetPlayerSprite(index) = 0 Then (aki e a Sprite do char q vai transformar) Call SetPlayerSprite(index, 0) (aki e a sprite q vai virar depois de transfomar) Call SetPlayerSTR(Index, GetPlayerSTR(Index) + 50) (a força q vai ganhar) Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50) (a defeça q vai ganhar) Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) +50) (a velocidade q vai ganhar) Call SetPlayerMAGI(Index, GetPlayerMAGI(index) +50) (a magia q vai ganhar) Call PlaySound(Index, "ssjtransform.wav") ( o som da tranformaçao) Call PlayerMsg(index, "Você virou ssj!", 4) (o nome q vai na transfomaçao) Call PlayerWarp (index, GetPlayerMap(index), GetPlayerX(index), GetPlayerY(index),False) Exit Sub End If End If End If End If agora vou fazer de destraformaçoes comando voltar - Código:
-
If Lcase(Trim(TextSay)) = "/voltar" Then If GetPlayerClass (index) = 1 Then If GetPlayerLevel(index) => 50 Then If GetPlayerSprite(index) = 1 Then Call SetPlayerSprite(index, 0) Call SetPlayerSTR(Index, GetPlayerSTR(Index) - 50) Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50) Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 50) Call SetPlayerMAGI(Index, GetPlayerMAGI(index) - 50) Call PlaySound(Index, "ssjtransform.wav") Call PlayerMsg(index, "Você ficou normal!", 4) Call PlayerWarp (index, GetPlayerMap(index), GetPlayerX(index), GetPlayerY(index),False) Exit Sub End If End If End If End If Expicando alguma coisa Call SetPlayerSTR(Index, GetPlayerSTR(Index) - 50) (força) Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50) (defesa) Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 50) (velocidade) Call SetPlayerMAGI(Index, GetPlayerMAGI(index) - 50) (magia)Creditos a mim Nao esqueça hehe | |
|
Convidado Convidado
| Assunto: Re: como colocar transformaoes tipo goku ja tem falta os outros tipo vegeta ,ghoan e etc Dom 19 Set 2010, 14:34 | |
| no goku ja tenho transfomaçoes eu quero colocar nos outros com ? |
|
Lucas Roberto Administrador
Mensagens : 711
| Assunto: Re: como colocar transformaoes tipo goku ja tem falta os outros tipo vegeta ,ghoan e etc Sáb 25 Set 2010, 11:00 | |
| Dúvida/Pedido/Problema Resolvido com sucesso. Se houver algo mais por favor pedimos que efetue a criação de um novo tópico na área de Suporte para resolução.
Topico Trancado e Movido
Atenciosamente Equipe GamesPowerBr. | |
|
Conteúdo patrocinado
| Assunto: Re: como colocar transformaoes tipo goku ja tem falta os outros tipo vegeta ,ghoan e etc | |
| |
|