SHARE
TWEET

Untitled

a guest Aug 12th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. new a[128], b[128];
  2.     format( a , 128 , "INSERT INTO proprietyinfo (ID,E_X,E_Y,E_Z,E_INT,E_VW,I_X,I_Y,I_Z,I_INT,I_VW,TYPE,LEVEL,CASHBOX,NAME,OWNER,CO_OWNER,SOLD,LOCK,ALARM,PRICE)" );
  3.     format( b , 128 , "VALUES (NULL,%f,%f,%f,%d,%d,%f,%f,%f,%d,%d,%d,%d,0,'%s','%s','%s',0,%d,%d,%d",x,y,z,int,vw,floatstr( field[1] ),floatstr( field[2] ),floatstr( field[3] ),strval( field[4] ),strval( field[5] ),type,level,"","","",lock,alarm,price );
  4.     format( str , 256 , "%s%s" , a , b );
  5.     mysql_query(str);
RAW Paste Data
Top