Script Help {Gates}
#2

pawn Код:
maing = CreateDynamicObject(2938, 1100.59, 2293.79, 11.51, 0.00, 0.00, 0.00,-1,-1,-1,90);

//And so on.

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/fo", cmdtext, true, 10) == 0)
    {
        MoveDynamicObject(maing, 1100.59, 2293.79, 7.29,1.5);
        return GameTextForPlayer(playerid, "~g~Founders Gate Opening~n~Browsing", 4000, 5);
    }
    if (strcmp("/fc", cmdtext, true, 10) == 0)
    {
        MoveDynamicObject(maing, 1100.59, 2293.79, 11.51,1.5);
        return GameTextForPlayer(playerid, "~g~Founders Gate Opening~n~Leaving", 4000, 5);
    }
    if (strcmp("/ft", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid,1097.90, 2293.19, 10.63);
        SetPlayerInterior(playerid,0);
        return GameTextForPlayer(playerid, "~g~Teleporting.", 4000, 5);
    }
    return 0;
}
Reply


Messages In This Thread
Script Help {Gates} - by zT KiNgKoNg - 25.06.2012, 13:23
Re: Script Help {Gates} - by Grand_Micha - 25.06.2012, 15:08
Re: Script Help {Gates} - by zT KiNgKoNg - 25.06.2012, 15:31

Forum Jump:


Users browsing this thread: 2 Guest(s)