Problem ORM!
#5

Try with this code:

PHP код:
CMD:test(playeridparams[])
{
    
mysql_format(MySQLConquerysizeof(query), "INSERT INTO `vehicles` (Owner, Model, Color1, Color2, Value) VALUES ('%d', '%d', '%d', '%d', '%d');"pInfo[playerid][pID], dmodelid[playerid], 11dprice[playerid]);
    
mysql_query(MySQLConquery);
    new 
did cache_insert_id();
    
Veh[did][KM] = 5;
    
orm_update(Veh[did][ORM_ID]);
    return 
1;

Reply


Messages In This Thread
Problem ORM! - by norton2 - 20.09.2015, 16:44
Re: Problem ORM! - by norton2 - 20.09.2015, 17:04
Re: Problem ORM! - by norton2 - 20.09.2015, 18:23
Re: Problem ORM! - by norton2 - 21.09.2015, 17:01
Re: Problem ORM! - by rappy93 - 21.09.2015, 18:48
Re: Problem ORM! - by norton2 - 22.09.2015, 13:25

Forum Jump:


Users browsing this thread: 1 Guest(s)