SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Tutorials (https://forum.sa-mp.com/forumdisplay.php?f=70)
-   -   [Tutorial] Login and Register System - Dialogs - Using Y_INI (https://forum.sa-mp.com/showthread.php?t=273088)

oghabanjb 22/06/2019 01:46 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by Nitrofuel786 (Post 4102990)
It doesnt save anything in my INI file. Where do I have to put step 7 and 8 in?

Anywhere of your code. Just don't put it in public, stock and plain functions.

TheMarioTR 16/09/2019 02:11 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Very Bugs..

bero1711 13/11/2019 06:14 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
How to do that with PVars?
Code:

forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
    INI_Int("Password",PlayerInfo[playerid][pPass]);
    INI_Int("Cash",PlayerInfo[playerid][pCash]);
    INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
    INI_Int("Kills",PlayerInfo[playerid][pKills]);
    INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
    return 1;
}


STORIEL000 29/06/2020 10:14 AM

Re: Login and Register System - Dialogs - Using Y_INI
 
Hello! For some reason, when i compile i get these errors. Could someone explain what's wrong?

C:\Users\George\Desktop\samp server\pawno\include\YSI\..\YSI_Storage\..\YSI_Cor e\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)")
C:\Users\George\Desktop\samp server\pawno\Commands Test.pwn(150) : error 017: undefined symbol "PlayerInfo"
C:\Users\George\Desktop\samp server\pawno\Commands Test.pwn(150) : warning 215: expression has no effect
C:\Users\George\Desktop\samp server\pawno\Commands Test.pwn(150) : error 001: expected token: ";", but found "]"
C:\Users\George\Desktop\samp server\pawno\Commands Test.pwn(150) : error 029: invalid expression, assumed zero
C:\Users\George\Desktop\samp server\pawno\Commands Test.pwn(150) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


All times are GMT. The time now is 09:32 PM.

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