Look at that what is worng.
#1

when i do /open the gate open like this :

This is how i made it
pawn Код:
new gate1; //i've add on top
gate1 = CreateObject(980, 1811.45, -1890.62, 14.81,   0.00, 0.00, 273.33);//i've add this OnGameModeInit()
and this on cmds section    if (strcmp("/open", cmdtext, true, 10) == 0)
    {    MoveObject(gate1,1811.45, -1890.62, 14.81,   0.00, 0.00, 273.330,0);
       // player dead
       return 1;
    }
what is wrong guys
Reply
#2

pawn Код:
new gate1;
gate1 = CreateObject(980, 1811.45, -1890.62, 14.81, 0.00, 0.00, 273.33);
if(strcmp("/open", cmdtext, true, 10) == 0)
{
    MoveObject(gate1, 1811.45, -1890.62, 14.81,   0.00, 0.00, 273.330, 4.0);
    return true;
}
Reply
#3

pawn Код:
if (strcmp("/open", cmdtext, true) == 0)
    {
        MoveObject(gate1, 1811.45, -1890.62, 4.81, 2.0);
        return 1;
    }
Reply
#4

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
pawn Код:
new gate1;
gate1 = CreateObject(980, 1811.45, -1890.62, 14.81, 0.00, 0.00, 273.33);
if(strcmp("/open", cmdtext, true, 10) == 0)
{
    MoveObject(gate1, 1811.45, -1890.62, 14.81,   0.00, 0.00, 273.330, 4.0);
    return true;
}
Thats didn't work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)