07.10.2014, 10:35
this should add it to everyone else on the server
uncompiled
Код:
Prop[playerid] = CreatePlayerObject(playerid, PropPositions[ii][ModelID], PropPositions[ii][Offset][0], PropPositions[ii][Offset][1], PropPositions[ii][Offset][2], PropPositions[ii][Rot][0], PropPositions[ii][Rot][1], PropPositions[ii][Rot][2]); AttachObjectToPlayer(Prop[playerid], playerid , PropPositions[ii][Offset][0], PropPositions[ii][Offset][1], PropPositions[ii][Offset][2], PropPositions[ii][Rot][0], PropPositions[ii][Rot][1], PropPositions[ii][Rot][2]); new Float:ox,Float:oy,Float:oz,Float:orx,Float:ory,Float:orz; GetObjectPos(Prop[playerid],ox,oy,oz); GetObjectRot(Prop[playerid],orx,ory,orz); for(new i = 0; i < MAX_PLAYERS; i++){ if(!IsPlayerConnected(i))continue; if(i == playerid)continue; Prop[i] = CreatePlayerObject(i, PropPositions[ii][ModelID], ox,oy,oz,orx,ory,orz); AttachObjectToPlayer(Prop[playerid], playerid ,ox,oy,oz,orx,ory,orz); }