Expression has no effect [MySQL]
#2

pawn Код:
format(query,sizeof(query),"UPDATE items SET Mseeds = '%d', Marijuana = '%d', Phone = '%d',PhoneNumber = '%d',Watch = '%d',Beer = '%d',Wine = '%d',Cigarettes = '%d',Ligther = '%d',FishRod = '%d',Bait = '%d', \
    FishBag = '%d' WHERE username = '%s'"
, //line 435
    PlayerItems[playerid][Mseeds],PlayerItems[playerid][Marijuana],PlayerItems[playerid][Phone],PlayerItems[playerid][PhoneNumber],
    PlayerItems[playerid][Watch],PlayerItems[playerid][Beer],PlayerItems[playerid][Wine],PlayerItems[playerid][Cigarettes],
    PlayerItems[playerid][Lighter],PlayerItems[playerid][FishRod],PlayerItems[playerid][Bait],PlayerItems[playerid][FishBag],
    Name);
    mysql_query(query);
You added closing bracket right after format(query & another thing that would prevent query from executing is that you forgot ' after %d at FishBag
Reply


Messages In This Thread
Expression has no effect [MySQL] - by dusk - 17.02.2013, 21:41
Re: Expression has no effect [MySQL] - by [MG]Dimi - 17.02.2013, 21:46
Re: Expression has no effect [MySQL] - by dusk - 17.02.2013, 21:51
Re: Expression has no effect [MySQL] - by dusk - 17.02.2013, 21:56
Re: Expression has no effect [MySQL] - by [MG]Dimi - 17.02.2013, 22:00
Re: Expression has no effect [MySQL] - by dusk - 18.02.2013, 06:37
Re: Expression has no effect [MySQL] - by Scenario - 18.02.2013, 06:45
Re: Expression has no effect [MySQL] - by dusk - 18.02.2013, 06:51
Re: Expression has no effect [MySQL] - by Scenario - 18.02.2013, 07:06
Re: Expression has no effect [MySQL] - by dusk - 18.02.2013, 07:14

Forum Jump:


Users browsing this thread: 2 Guest(s)