little help please
#2

I did the same thing yesterday, fixed. :P
pawn Код:
if(strcmp(cmdtext, "/zelenxo", true) == 0);
    {
        new pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pName, sizeof(pName));
        if(strcmp(pName, "ZelenX", true) == 0)//if players name is zelenx
        {
            new string[128];
            new movetime = MoveObject(zelen1, 1497.25000000,-699.91000000,90.79000000,2.00000000);
            MoveObject(zelen2, 1497.25000000,-699.91000000,101.80000000,2.00000000);
            SendClientMessage(playerid, COLOR_YELLOW, "Dobro dosao kuci ZelenX , ukucaj /zelenxc da zatvoris kapiju.");
            format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
            SendClientMessage(playerid, 0xFFFFFFAA, string);
        }
        else
        {
            SendClientMessage(playerid, 0xFFFF00AA,"You are not ZelenX , please fuck off this house!");
        }
        return 1;
    }
Reply


Messages In This Thread
little help please - by Amel_PAtomAXx - 18.03.2011, 00:03
Re: little help please - by pawn_ - 18.03.2011, 00:07
Re: little help please - by Amel_PAtomAXx - 18.03.2011, 00:14
Re: little help please - by Calgon - 18.03.2011, 00:15
Re: little help please - by antonio112 - 18.03.2011, 00:16
Re: little help please - by Amel_PAtomAXx - 18.03.2011, 00:21

Forum Jump:


Users browsing this thread: 2 Guest(s)