[HELP] Command
#1

What is wrong here?

pawn Код:
if(strcmp(cmd, "/up", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
           if(PlayerToPoint(1.0,playerid,-2212.5674,643.8956,49.4456))
           {
                if(PlayerInfo[playerid][pMember] == 6||PlayerInfo[playerid][pLeader] == 6)
                {
                    SetPlayerPos(playerid,2240.1135,648.5764,74.0790);
                }
                else
                {
                    SendClientMessage(playerid, COLOR_GREY, "* You are not a Yakuza *");
                }
           }
        }
    }
    if(strcmp(cmd, "/down", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
           if(PlayerToPoint(1.0,playerid,-2236.0012,647.6078,74.0790))
           {
                if(PlayerInfo[playerid][pMember] == 6||PlayerInfo[playerid][pLeader] == 6)
                {
                    SetPlayerPos(playerid,-2212.5674,643.8956,49.4456);
                }
                else
                {
                    SendClientMessage(playerid, COLOR_GREY, "* You are not a Yakuza *");
                }
           }
        }
    }
Reply


Messages In This Thread
[HELP] Command - by monster010 - 02.04.2014, 14:27
Re: [HELP] Command - by iThePunisher - 02.04.2014, 14:28
Re: [HELP] Command - by monster010 - 02.04.2014, 14:32
Re: [HELP] Command - by Bingo - 02.04.2014, 15:00
Re: [HELP] Command - by monster010 - 02.04.2014, 15:20
Re: [HELP] Command - by Bingo - 02.04.2014, 15:35
Re: [HELP] Command - by monster010 - 02.04.2014, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)