03.09.2012, 08:14
(
Последний раз редактировалось Roko_foko; 03.09.2012 в 09:09.
)
Thank you very much. But I still don't get it completly.
This is what I tried:
and getting
What am I doing wrong?
EDIT:
I came up to this alternative.
Will this work? ( i want that it's shown only for playerid )
This is what I tried:
pawn Код:
WheatObj[playerid][i]=CreateDynamicObjectEx(1454, -209.0760,-33.3091,3.0828, 0, 0, 0, 0, 200, {0},{ 0 });
//^erased the {playerid}
Streamer_SetArrayData(STREAMER_TYPE_OBJECT,WheatObj[playerid][i],E_STREAMER_PLAYER_ID,{playerid});
Код:
error 008: must be a constant expression; assumed zero
EDIT:
pawn Код:
WheatObj[playerid][i]=CreateDynamicObjectEx(1454, -209.0760,-33.3091,3.0828, 0, 0, 0, 0, 200, { 0 },{ 0 },{MAX_PLAYERS});
//^MAX_PLAYERS- I had to set something. In case I don't it will be visible for all.
//^playerid that equals MAX_PLAYERS doesn't exist - that is the reason I've put it here.
Streamer_AppendArrayData(STREAMER_TYPE_OBJECT, WheatObj[playerid][i], E_STREAMER_PLAYER_ID, playerid);
Will this work? ( i want that it's shown only for playerid )