10.02.2014, 08:04
I don't know what I did. Just give a try
Quote:
|
if (!strcmp(choice, "position", true)) { new Float: slx, Float: sly, Float: slz; GetPlayerPos(playerid, slx, sly, slz); Points[pointid][Pointx] = slx; Points[pointid][Pointy] = sly; Points[pointid][Pointz] = slz; DestroyDynamicPickup(Points[pointid][PointPickupID]); Points[pointid][PointPickupID] = CreateDynamicPickup( 1239, 23, Points[pointid][Pointx], Points[pointid][Pointy], Points[pointid][Pointz]); format(string, sizeof(string), "You have set point's ID %d position to X: %f Y: %f Z: %f", pointid, slx, sly, slz); SendClientMessageEx(playerid, COLOR_WHITE, string); UpdatePoints(); } |

