Not creating the vehicle mysql
#1

I am creating the script to create vehicle mysql, and create one command, with the next code mysql (All variables has been definided):
PHP код:
    new Query[500];
    
format(Querysizeof(Query),"INSERT INTO `vehiculos` (`PosX`, `PosY`, `PosZ`) VALUES ('%f', '%f', '%f')"X2Y2Z2);
    
mysql_tquery(ConecctionQuery,  "CrearVehiculoConceMysql""ddd"playeriddealerid2); 
The problem is: Not create the vehicle.
The callback "CrearVehiculoConceMysql" is the next:
PHP код:
forward CrearVehiculoConceMysql(playeriddealeridVehConceID); 
In the callback, asign the vehicle variable, and save with mysql:
PHP код:
public CrearVehiculoConceMysql(playeriddealeridVehConceID)
{
new 
id = -1;
VehicleIDMYSQL[id] = cache_insert_id();
id VehicleIDMYSQL[id];
// ETC etc
return 1;

Yes asigned all variables [In the old time, i am creating the code, in other method, and no problem], but now fails to save variables.
Reply


Messages In This Thread
Not creating the vehicle mysql - by pabloalber84 - 08.06.2015, 18:47
Re: Not creating the vehicle mysql - by extender1987 - 08.06.2015, 19:21
Respuesta: Re: Not creating the vehicle mysql - by pabloalber84 - 08.06.2015, 19:23
Re: Respuesta: Re: Not creating the vehicle mysql - by extender1987 - 08.06.2015, 19:25
Re: Not creating the vehicle mysql - by Vince - 08.06.2015, 19:27

Forum Jump:


Users browsing this thread: 1 Guest(s)