10.02.2014, 07:37
What the fuck is wrong with that line? it seems okay with ; at the end...
line 61139:
full code:
Код:
C:\Users\Mor\Desktop\CGRP v1.00 0.3z RC4\gamemodes\CGRP.pwn(61139) : error 001: expected token: ";", but found "-identifier-"
Код:
Points[pointid][PointPickupID] = CreateDynamicPickup( 1239, 23, Points[pointid][Pointx], Points[pointid][Pointy], Points[pointid][Pointz]);
Код:
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(); }