[help] 1 line of y_ini to MySQL
#1

PLease help me, Codes:

pawn Код:
if( strcmp( key , "Money" , true ) == 0 ) { val = ini_GetValue( Data ); SetPVarInt(playerid, "Cash", strval( val )); }
TO:

pawn Код:
PlayerInfo[playerid][pCash] = MySQL_GetAccountInt(PlayerName(playerid), "Money");
i need add
Код:
SetPVarInt(playerid, "Cash"
in the script of mysql
Reply
#2

Help please
Reply
#3

Maybe explain better what you want to do?
Reply
#4

link this:
pawn Код:
PlayerInfo[playerid][pCash] = MySQL_GetAccountInt(PlayerName(playerid), "Money");
with this:
pawn Код:
SetPVarInt(playerid, "Cash"
so:
pawn Код:
if( strcmp( key , "Money" , true ) == 0 ) { val = ini_GetValue( Data ); SetPVarInt(playerid, "Cash", strval( val ));
but in mysql
Reply
#5

HELP D:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)