24.07.2018, 17:02
Ok managed to fix, now i wanna create mapicons.
I did in this way:
(Forget all the code above, i changed from rob to atm objects).
And got this at the CreateDynamicMapIcon line:
EDIT: Just checked now...object doesn't appear :/
I did in this way:
pawn Код:
for(new i = 0; i < sizeof(AtmObjects); i ++)
{
CreateDynamicObject(19324, AtmObjects[i][XXX], AtmObjects[i][YYY], AtmObjects[i][ZZZ], 0.0, 0.0, 0.0, 100);
CreateDynamicMapIcon(AtmObjects[i][XXX][0], AtmObjects[i][YYY][1], AtmObjects[i][ZZZ][2], 15, 0, 0, .streamdistance = 200.0);
}
And got this at the CreateDynamicMapIcon line:
Quote:
error 001: expected token: ",", but found "[" error 029: invalid expression, assumed zero warning 215: expression has no effect error 001: expected token: ";", but found "]" fatal error 107: too many error messages on one line |