[Ayuda]Pasar 1 linea de Y_INI a MySQL - 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: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: [Ayuda]Pasar 1 linea de Y_INI a MySQL (
/showthread.php?tid=466427)
[Ayuda]Pasar 1 linea de Y_INI a MySQL -
jose005 - 27.09.2013
Codigos
pawn Код:
if( strcmp( key , "Money" , true ) == 0 ) { val = ini_GetValue( Data ); SetPVarInt(playerid, "Cash", strval( val )); }
Ha:
pawn Код:
PlayerInfo[playerid][pCash] = MySQL_GetAccountInt(PlayerName(playerid), "Money");
necesito agregar
Код:
SetPVarInt(playerid, "Cash"
al codigo de mysql pero no se como
Respuesta: [Ayuda]Pasar 1 linea de Y_INI a MySQL -
jose005 - 28.09.2013
NADIE ME AYUDA D:
Respuesta: [Ayuda]Pasar 1 linea de Y_INI a MySQL -
JustBored - 28.09.2013
pawn Код:
SetPVarInt(playerid, "Cash", PlayerInfo[playerid][pCash]);