Change walkstyle
#9

I have a there you can change already but when you change only change when you type /walk i want it so works when you hold down alt

pawn Код:
}
            if(strcmp(x_nr,"1",true) == 0)
            {
                tmp = strtok(cmdtext, idx);
                if(!strlen(tmp))
                {
                    SendClientMessage(playerid, COLOR_GREEN, "USAGE: /setstyle 1 [StyleID]");
                    SendClientMessage(playerid, COLOR_WHITE, "Walk Styles: 1,2,3,4,5,6,7,8,9");
                    SendClientMessage(playerid, COLOR_WHITE, "Walk Styles: 10,11,12,13,14,15,16");
                    SendClientMessage(playerid, COLOR_WHITE, "Walk Styles: 17,18");
                    return 1;
                }
                new walkstyle;
                walkstyle = strval(tmp);
                if(walkstyle < 1 || walkstyle > 18)
                {
                    return 1;
                }
                if(walkstyle > 2 && PlayerInfo[playerid][pDonator] == 0)
                {
                    SendClientMessage(playerid,COLOR_GREY,"   This is a donator feature only !");
                    return 1;
                }
                PlayerInfo[playerid][pWalk] = walkstyle;
                format(string, sizeof(string), "You have set your walking style to: %d", walkstyle);
                SendClientMessage(playerid, COLOR_WHITE, string);
                return 1;
Reply


Messages In This Thread
Change walkstyle - by N0FeaR - 17.02.2012, 17:57
Re: Change walkstyle - by Twisted_Insane - 17.02.2012, 17:58
Re: Change walkstyle - by N0FeaR - 17.02.2012, 18:03
Re: Change walkstyle - by Twisted_Insane - 17.02.2012, 18:11
Re: Change walkstyle - by Toreno - 17.02.2012, 18:11
Re: Change walkstyle - by Zarky - 17.02.2012, 18:14
Re: Change walkstyle - by Konstantinos - 17.02.2012, 18:18
Re: Change walkstyle - by N0FeaR - 18.02.2012, 08:40
Re: Change walkstyle - by N0FeaR - 18.02.2012, 08:47
Re: Change walkstyle - by N0FeaR - 20.02.2012, 16:25

Forum Jump:


Users browsing this thread: 1 Guest(s)