Can't see the object?
#1

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
Reply
#2

The stock is CreateGate not CreateAutoGate.
Reply
#3

Yeah?... And i can't see it?... Why?
Reply
#4

Please helpppp...
Reply
#5

Help please
Reply
#6

Help me please...
Reply
#7

Pleaseeee helppppp
Reply
#8

i really need help guys...
Reply
#9

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
Reply
#10

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...?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)