Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2015
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. new Float:px, Float:py, Float:pz, Float:pr;
  2. GetVehiclePos(CI[cai][vhi], px, py, pz);
  3. GetVehicleZAngle(CI[cai][vhi], pr);
  4. CI[cai][vx] = px;
  5. CI[cai][vy] = py;
  6. CI[cai][vz] = pz;
  7. CI[cai][vr] = pr;
  8. new q[256];
  9. format(q, 256, "UPDATE cars SET sx = '%f', sy = '%f', sz = '%f', sr = '%f' WHERE id = '%d'",px, py, pz, pr, cai);
  10. mysql_query(q);
  11. SendClientMessage(playerid, CL_INFO, "** Fahrzeug geparkt.");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement