[Ajuda] GM nгo salva - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] GM nгo salva (
/showthread.php?tid=576811)
GM nгo salva -
Mnnny - 07.06.2015
Olб,
Estou com um problema
Ligo meu serv
registro minha acc , sigo o TUTORIAL
ao desligar e ligar o serv novamente a conta ta como registrada
porem ele pede pra serguir o TUTO novamente
Re: GM nгo salva -
WKhalifa - 07.06.2015
Mostre seu Cуdigo de Registro..
Re: GM nгo salva -
Holl - 07.06.2015
Quote:
Originally Posted by WKhalifa
Mostre seu Cуdigo de Registro..
|
Deve existir uma variavel e um metodo se salvamento dela.. pra nгo enviar pro tutorial.. olhe aii
Re: GM nгo salva -
ipsLuan - 07.06.2015
Uma base...
PHP код:
new tutorial[MAX_PLAYERS] = 0;
tutorial[playerid] = 1;
DOF2_SetInt("Sua_Conta.ini", "Tutorial", tutorial[playerid]);
DOF2_SaveFile();
tutorial[playerid] = DOF2_GetInt("Sua_Conta.ini", "Tutorial");
if(tutorial[playerid] != 1) {
printf("%d nгo fez o tutorial.", playerid);
ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button1[], button2[]);
return 1;
}