PDA

View Full Version : My house system problem


Tanush123
15/03/2012, 11:38 PM
Well when i createhouse i get this 0
format(query,sizeof(query),"UPDATE Houses SET World = %d, Interior = %d, Cost = %d WHERE ID = %d",GetPlayerVirtualWorld(playerid),inte,amount,GetHo useid());
mysql_query(query);


on my phpmyadmin but my debug shows that interior is 1 and cost is 100. How do i fix this?

jameskmonger
15/03/2012, 11:40 PM
format(query,sizeof(query),"UPDATE Houses SET World = %d, Interior = %d, Cost = %d WHERE ID = %d",GetPlayerVirtualWorld(playerid),inte,amount,GetHo useid());
//mysql_query(query);
print(query);

Create the house and tell us what is printed in the console.