organization/faction bank problem
#1

Fixed
Reply
#2

help please?
Reply
#3

lmfao! Bro... You cannot use '+' '=' in MySQL. Should be more like:

pawn Код:
do all math outside.

format(str,sizeof(string),"UPDATE `orgs` SET Bank = '%d' WHERE OrgID = '%d'",MATH,ID);
Reply
#4

pawn Код:
UPDATE orgs SET Bank = '%d'
will just set the "Bank" to w/e cash the player types, right? I want if player types a number it just Adds the number they type
Reply
#5

bump
Reply
#6

Please help? now i tryed
pawn Код:
format(str,sizeof(str),"UPDATE `orgs` SET `Bank` = '%d' WHERE `Orgid` = '%d'",OrgInfo[cpid[playerid]][Bank],cpid[playerid]);
mysql_query(str);
but it still wont work
i look at the organization information and that gets updated but not the mysql part
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)