PDA

View Full Version : Expression has no effect


Face9000
25/09/2015, 10:20 AM
I get this error in all of this lines:

warning 215: expression has no effect

mysql_fetch_field_row(savingstring, "Admin"); PlayerInfo[playerid][Admin], strval(savingstring));
mysql_fetch_field_row(savingstring, "VIP"); PlayerInfo[playerid][VIP], strval(savingstring);
mysql_fetch_field_row(savingstring, "Money"); MoneyGiven[playerid] = strval(savingstring);
mysql_fetch_field_row(savingstring, "Score"); SetPlayerScore(playerid, strval(savingstring));
mysql_fetch_field_row(savingstring, "Deaths"); PlayerInfo[playerid][Deaths], strval(savingstring);
mysql_fetch_field_row(savingstring, "MissionsPlayed"); PlayerInfo[playerid][MissionsPlayed], strval(savingstring);
mysql_fetch_field_row(savingstring, "VipTime"); PlayerInfo[playerid][VipTime], strval(savingstring);
mysql_fetch_field_row(savingstring, "Warns"); PlayerInfo[playerid][Warns], strval(savingstring);
mysql_fetch_field_row(savingstring, "Cookies"); PlayerInfo[playerid][Cookies], strval(savingstring);
mysql_fetch_field_row(savingstring, "Jailed"); PlayerInfo[playerid][Jailed], strval(savingstring);
mysql_fetch_field_row(savingstring, "Muted"); PlayerInfo[playerid][Muted], strval(savingstring);
mysql_fetch_field_row(savingstring, "RegisterDate"); PlayerInfo[playerid][RegisterDate], strval(savingstring);
mysql_fetch_field_row(savingstring, "Duty"); PlayerInfo[playerid][Duty], strval(savingstring);
mysql_fetch_field_row(savingstring, "RegisterDate"); PlayerInfo[playerid][RegisterDate], strval(savingstring);
mysql_fetch_field_row(savingstring, "Nopm"); PlayerInfo[playerid][Nopm], strval(savingstring);

What's wrong?

Aly
25/09/2015, 10:38 AM
PlayerInfo[playerid][Admin] = strval(savingstring);

Face9000
25/09/2015, 10:40 AM
Fixed.

jlalt
25/09/2015, 10:41 AM
mysql_fetch_field_row(savingstring, "Admin"); PlayerInfo[playerid][Admin] = strval(savingstring));
mysql_fetch_field_row(savingstring, "VIP"); PlayerInfo[playerid][VIP] = strval(savingstring);
mysql_fetch_field_row(savingstring, "Money"); MoneyGiven[playerid] = strval(savingstring);
mysql_fetch_field_row(savingstring, "Score"); SetPlayerScore(playerid, strval(savingstring));
mysql_fetch_field_row(savingstring, "Deaths"); PlayerInfo[playerid][Deaths] = strval(savingstring);
mysql_fetch_field_row(savingstring, "MissionsPlayed"); PlayerInfo[playerid][MissionsPlayed] = strval(savingstring);
mysql_fetch_field_row(savingstring, "VipTime"); PlayerInfo[playerid][VipTime] = strval(savingstring);
mysql_fetch_field_row(savingstring, "Warns"); PlayerInfo[playerid][Warns] = strval(savingstring);
mysql_fetch_field_row(savingstring, "Cookies"); PlayerInfo[playerid][Cookies] = strval(savingstring);
mysql_fetch_field_row(savingstring, "Jailed"); PlayerInfo[playerid][Jailed] = strval(savingstring);
mysql_fetch_field_row(savingstring, "Muted"); PlayerInfo[playerid][Muted] = strval(savingstring);
mysql_fetch_field_row(savingstring, "RegisterDate"); PlayerInfo[playerid][RegisterDate] = strval(savingstring);
mysql_fetch_field_row(savingstring, "Duty"); PlayerInfo[playerid][Duty] = strval(savingstring);
mysql_fetch_field_row(savingstring, "RegisterDate"); PlayerInfo[playerid][RegisterDate] = strval(savingstring);
mysql_fetch_field_row(savingstring, "Nopm"); PlayerInfo[playerid][Nopm] = strval(savingstring);

::| never mind