What wrong with this code
#5

This should work:

pawn Код:
if (strcmp("/admindead", cmdtext, true, 10) == 0)
    {
        MoveObject(gumi,1447.11132812,-1470.43359375,12.09654999, 2.00);
        MoveObject(gumi,1446.40673828,-1468.68615723,12.37339306, 2.00);
        MoveObject(gumi,1456.10839844,-1470.27490234,12.35156250, 2.00);
        MoveObject(gumi,1460.82836914,-1471.22790527,12.65607643, 2.00);
        MoveObject(gumi,1463.65356445,-1470.89440918,12.78884888, 2.00);
        MoveObject(gumi,1442.74023438,-1536.90515137,12.54687500, 2.00);
        MoveObject(gumi,1442.74023438,-1536.90429688,12.54687500, 2.00);
        MoveObject(gumi,1433.07153320,-1535.15502930,12.37769794, 2.00);
        MoveObject(gumi,1429.08435059,-1534.31030273,12.66855526, 2.00);
        return 1;
    }
    if (strcmp("/admindead1", cmdtext, true, 10) == 0)
    {
        MoveObject(gumi,1447.11132812,-1470.43359375,8.09654999, 2.00);
        MoveObject(gumi,1446.40673828,-1468.68615723,8.37339306, 2.00);
        MoveObject(gumi,1456.10839844,-1470.27490234,8.35156250, 2.00);
        MoveObject(gumi,1460.82836914,-1471.22790527,8.65607643, 2.00); /* ... */
        MoveObject(gumi,1463.65356445,-1470.89440918,8.78884888, 2.00);
        MoveObject(gumi,1442.74023438,-1536.90515137,8.54687500, 2.00);
        MoveObject(gumi,1442.74023438,-1536.90429688,8.54687500, 2.00);
        MoveObject(gumi,1433.07153320,-1535.15502930,8.37769794, 2.00);
        MoveObject(gumi,1429.08435059,-1534.31030273,8.66855526, 2.00);
        return 1;
    }
Reply


Messages In This Thread
What wrong with this code - by boyan96 - 26.11.2011, 07:08
Re: What wrong with this code - by SmiT - 26.11.2011, 07:11
Re: What wrong with this code - by [MG]Dimi - 26.11.2011, 07:13
Re: What wrong with this code - by boyan96 - 26.11.2011, 07:14
Re: What wrong with this code - by SmiT - 26.11.2011, 07:16
Re: What wrong with this code - by boyan96 - 26.11.2011, 07:18

Forum Jump:


Users browsing this thread: 1 Guest(s)