My house system problem
#1

Well when i createhouse i get this 0
pawn Код:
format(query,sizeof(query),"UPDATE Houses SET World = %d, Interior = %d, Cost = %d WHERE ID = %d",GetPlayerVirtualWorld(playerid),inte,amount,GetHouseid());
    mysql_query(query);
on my phpmyadmin but my debug shows that interior is 1 and cost is 100. How do i fix this?
Reply
#2

pawn Код:
format(query,sizeof(query),"UPDATE Houses SET World = %d, Interior = %d, Cost = %d WHERE ID = %d",GetPlayerVirtualWorld(playerid),inte,amount,GetHouseid());
    //mysql_query(query);
    print(query);
Create the house and tell us what is printed in the console.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)