Can't see the object? -
xganyx - 13.10.2013
I can't see the object... Here is my stock
pawn Код:
stock CreateGate(objid,Float:closeX,Float:closeY,Float:closeZ,Float:closeRX,Float:closeRY,Float:closeRZ,Float:openX,Float:openY,Float:openZ,Float:openRX,Float:openRY,Float:openRZ,Float:dis,Float:MovingSpeed)
{
new gid = GateCount;
GateInf[gid][id] = objid;
GateInf[gid][xo] = openX;
GateInf[gid][yo] = openY;
GateInf[gid][zo] = openZ;
GateInf[gid][rxo] = openRX;
GateInf[gid][ryo] = openRY;
GateInf[gid][rzo] = openRZ;
GateInf[gid][xc] = closeX;
GateInf[gid][yc] = closeY;
GateInf[gid][zc] = closeZ;
GateInf[gid][rxc] = closeRX;
GateInf[gid][ryc] = closeRY;
GateInf[gid][rzc] = closeRZ;
GateInf[gid][drawdis] = dis;
GateInf[gid][Speed] = MovingSpeed;
CreateObject(GateInf[gid][id],GateInf[gid][xc],GateInf[gid][yc],GateInf[gid][zc],GateInf[gid][rxc],GateInf[gid][ryc],GateInf[gid][rzc]);
return 1;
}
Then i made this under my OnGameModeInit
pawn Код:
public OnGameModeInit()
{
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
CreateGate(1498,1954.1449,1378.6235,9.2578,0.0,0.0,0.0,1954.4121,1366.8541,9.2578,0.0,0.0,0.0,10.0,2.0);
return 1;
}
But when i'm going in game i can't see the object
Re: Can't see the object? -
]Rafaellos[ - 13.10.2013
The stock is CreateGate not CreateAutoGate.
Re: Can't see the object? -
xganyx - 14.10.2013
Yeah?... And i can't see it?... Why?
Re: Can't see the object? -
xganyx - 14.10.2013
Please helpppp...
Re: Can't see the object? -
xganyx - 15.10.2013
Help please
Re: Can't see the object? -
xganyx - 15.10.2013
Help me please...
Re: Can't see the object? -
xganyx - 17.10.2013
Pleaseeee helppppp
Re: Can't see the object? -
xganyx - 21.10.2013
i really need help guys...
Re: Can't see the object? -
Zex Tan - 21.10.2013
I'm not really sure what was your gate problem. I think it is because you made something like 2 gates. Open and Closed in your stock. So probably the server can't understand what you're up too
Re: Can't see the object? -
xganyx - 22.10.2013
I just create a closed gate in my stock... And when player near the gate... Then move it to the open float... I just do that... Why i can't see the gate...?