Jump to content

gvmi_17

Membru
  • Posts

    1
  • Joined

  • Last visited

gvmi_17's Achievements

Newbie

Newbie (1/14)

  • One Month Later
  • Week One Done
  • Dedicated Rare
  • Conversation Starter

Recent Badges

0

Reputation

  1. CMD:savepos(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 6 && !Fondator(playerid)) return SCM(playerid, -1, AdminOnly); new Float: x, Float: y, Float: z, Float: angle, string[128]; GetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(playerid, angle); format(string, sizeof(string), "X: %f | Y: %f | Z: %f | Angle: %f", x, y, z, angle); mysql_format(SQL, gString, sizeof gString, "INSERT INTO `vehicles` (`PosX` , `PosY` , `PosZ`, `Rotation`) CHANGE ('%f', '%f', '%f', '%f')", x, y, z, angle); mysql_tquery(SQL, gString, "", ""); SCM(playerid, -1, string); return true; } Nu se salveaza pozitia la masina, nu stiu ce am gresit!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.