Reset Automatico
Página 1 de 1
Reset Automatico
Quando o player atinger o Level 100 ou passar disso, ele irá resetar automaticamente e enviará a 1° animação(editor de animações) sobre o player.
Então, vamos lá:
~ Server Side ~
Procure por:
Então, vamos lá:
~ Server Side ~
Procure por:
- Código:
Sub CheckPlayerLevelUp
- Código:
If GetPlayerLevel(index) >= 100 Then ' Level 100 ou superior (caso ele upe varios leveis)
SetPlayerLevel index, 1 ' Vai voltar ao Level 1
SetPlayerExp index, 1 ' Vai ficar com 1 de EXP
PlayerMsg index, "Resetou!!", White ' Mensagem parabenizando
SendPlayerData index 'atualiza
SendExp index 'atualiza
SendAnimation GetPlayerMap(index), 1, 0, 0, TARGET_TYPE_PLAYER, index ' Ativa a animação Numero 1 sobre o player
End If ' Fecha a condição
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|
Sex Dez 05, 2014 10:00 am por Fabio-3dgames
» Lost In Dreams chapter 01
Seg Nov 24, 2014 7:22 pm por slipknot
» A Makers Brasil ressuscitara em breve!!
Sáb Nov 01, 2014 2:26 pm por Francisco Souza
» Elysium Diamond 3.3.2
Sáb Nov 01, 2014 2:17 pm por Francisco Souza
» personagens e objetos 3d game builder
Seg Jul 28, 2014 2:33 pm por Reginaldo Aparecido Zanus
» fala galera \o obs auhsaush digita galera asygasyga
Dom Jul 06, 2014 1:40 am por anastiel
» tutorial headshot fps creator
Seg Jun 09, 2014 6:08 pm por EspinhosoGamer
» SnakeMod fps creator
Seg Jun 09, 2014 5:55 pm por EspinhosoGamer
» serial fps creator
Seg maio 26, 2014 7:35 pm por slipknot