SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 08/09/2014, 02:38 AM   #1
leonardoaparecido
Huge Clucker
 
Join Date: Nov 2012
Posts: 272
Reputation: 2
Default Salvar LEVEL/SKIN/COR

Olá pessoal,
Estou utilizando esse FS > http://pastebin.com/aZSXm5kD
Como GM,e o sistema de registro dele não salva
COR DO PLAYER / LEVEL / SKIN,
queria saber como eu coloco para salvar eles.
leonardoaparecido is offline   Reply With Quote
Old 08/09/2014, 02:48 AM   #2
FallweN
Huge Clucker
 
FallweN's Avatar
 
Join Date: Jan 2014
Location: Search on Google
Posts: 444
Reputation: 98
Default Re: Salvar LEVEL/SKIN/COR

Utilize a base do que ele já salva e use:

pawn Code:
GetPlayerColor(playerid); //Pega Cor do nick dele
GetPlayerSkin(playerid); //Pegar skin dele
GetPlayerScore(playerid); //Pegar Score dele
__________________

[Tool/Web/Other]
User Control Panel
[GameMode] The Brasil Drift
FallweN is offline   Reply With Quote
Old 08/09/2014, 03:09 AM   #3
leonardoaparecido
Huge Clucker
 
Join Date: Nov 2012
Posts: 272
Reputation: 2
Default Re: Salvar LEVEL/SKIN/COR

Quote:
Originally Posted by FallweN View Post
Utilize a base do que ele já salva e use:

pawn Code:
GetPlayerColor(playerid); //Pega Cor do nick dele
GetPlayerSkin(playerid); //Pegar skin dele
GetPlayerScore(playerid); //Pegar Score dele
Consegui fazer para salvar o level.
Posso relogar que continua com o level etc..
Mas quando reinicia o servidor ele zera .
leonardoaparecido is offline   Reply With Quote
Old 08/09/2014, 06:05 AM   #4
Living
Big Clucker
 
Join Date: Jan 2013
Posts: 70
Reputation: 27
Default Re: Salvar LEVEL/SKIN/COR

Estuda mais a função de salvamento que você está utilizando!
Living is offline   Reply With Quote
Old 08/09/2014, 07:52 AM   #5
ViniBorn
Godfather
 
ViniBorn's Avatar
 
Join Date: Aug 2010
Location: Brasília
Posts: 5,313
Reputation: 720
Default Re: Salvar LEVEL/SKIN/COR

Está usando algum sistema de arquivos/salvamento?
__________________



CONTATO: F A C E B O O K: @vinibornpawn

ViniBorn is offline   Reply With Quote
Old 08/09/2014, 02:17 PM   #6
ArthurxD
Huge Clucker
 
ArthurxD's Avatar
 
Join Date: Apr 2013
Location: xx
Posts: 254
Reputation: 3
Default Re: Salvar LEVEL/SKIN/COR

On arquivos estão sendo salvos em OnPlayerDisconnect ?
__________________
Desenvolvendo e aprendendo
ArthurxD is offline   Reply With Quote
Old 08/09/2014, 10:29 PM   #7
leonardoaparecido
Huge Clucker
 
Join Date: Nov 2012
Posts: 272
Reputation: 2
Default Re: Salvar LEVEL/SKIN/COR

Sim,peguei o padrão do salvamento de grana e criei o do score.
leonardoaparecido is offline   Reply With Quote
Old 08/09/2014, 10:34 PM   #8
biell
Big Clucker
 
Join Date: Nov 2013
Posts: 62
Reputation: 0
Default Re: Salvar LEVEL/SKIN/COR

Alguem me manda unma MP pq não consigo postar aqui no forum, minha duvida é parecida!
biell is offline   Reply With Quote
Old 09/09/2014, 04:58 PM   #9
leonardoaparecido
Huge Clucker
 
Join Date: Nov 2012
Posts: 272
Reputation: 2
Default Re: Salvar LEVEL/SKIN/COR

Alguém me ajuda ?
leonardoaparecido is offline   Reply With Quote
Old 10/09/2014, 04:44 PM   #10
leonardoaparecido
Huge Clucker
 
Join Date: Nov 2012
Posts: 272
Reputation: 2
Default Re: Salvar LEVEL/SKIN/COR

UP ...
leonardoaparecido is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Salvar Skin ElGringo Português/Portuguese 6 04/05/2014 12:40 PM
[Ajuda] Salvar Level Catchorro Português/Portuguese 1 30/10/2013 09:09 PM
[Ajuda] Salvar Skin SouUmaJujuba Português/Portuguese 11 31/07/2013 10:43 PM
[Ajuda] Salvar level e exp Forrest Português/Portuguese 4 08/07/2013 03:06 AM


All times are GMT. The time now is 06:05 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.