24.09.2015, 17:42
Rappy@: Yes
Aly:
Aly:
Код HTML:
stock OnVehInsert(r, playerid) { new ORM:ormid = Veh[r][ORM_ID] = orm_create("vehicles",MySQLCon); orm_addvar_int(ormid, Veh[r][ID], "ID"); //this is the key orm_addvar_int(ormid, Veh[r][Owner], "Owner"); orm_addvar_int(ormid, Veh[r][Model], "Model"); orm_addvar_float(ormid, Veh[r][PosX], "PosX"); orm_addvar_float(ormid, Veh[r][PosY], "PosY"); orm_addvar_float(ormid, Veh[r][PosZ], "PosZ"); orm_addvar_float(ormid, Veh[r][VAngle], "VAngle"); orm_addvar_int(ormid, Veh[r][ServerID], "ServerID"); orm_setkey(ormid,"ID"); }