CreateDynamicObject
#6

Ok managed to fix, now i wanna create mapicons.

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);
    }
(Forget all the code above, i changed from rob to atm objects).

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

EDIT: Just checked now...object doesn't appear :/
Reply


Messages In This Thread
CreateDynamicObject - by KinderClans - 24.07.2018, 13:23
Re: CreateDynamicObject - by NaS - 24.07.2018, 13:42
Re: CreateDynamicObject - by KinderClans - 24.07.2018, 13:52
Re: CreateDynamicObject - by NaS - 24.07.2018, 13:57
Re: CreateDynamicObject - by GTLS - 24.07.2018, 14:45
Re: CreateDynamicObject - by KinderClans - 24.07.2018, 17:02
Re: CreateDynamicObject - by Dayrion - 24.07.2018, 17:14
Re: CreateDynamicObject - by KinderClans - 24.07.2018, 19:22
Re: CreateDynamicObject - by Florin48 - 24.07.2018, 20:25
Re: CreateDynamicObject - by KinderClans - 24.07.2018, 20:28

Forum Jump:


Users browsing this thread: 1 Guest(s)