--> Help With a CMD <--
#1

Hi everybody, i have that ironman cmd, but it doesn't fly )
pawn Код:
on top:
new
    bool:flying[MAX_PLAYERS],
    Javelin[MAX_PLAYERS][2],
    Float:JavPos[MAX_PLAYERS][3];

on player command text:

  if(!strcmp(cmdtext, "/ironman", true))
    {
        if((flying[playerid] = !flying[playerid]))
        {
            new Float:x, Float:y, Float:z;
            GetPlayerPos(playerid, x, y, z);
            SetPlayerHealth(playerid, 1000000000.0);
            SetTimerEx("IronMan", 100, 0, "d", playerid);
            SetTimerEx("DestroyMe", 500, 0, "d", CreateObject(2780, x, y, z - 3.0, 0.0, 0.0, 0.0));
            ShowPlayerDialog(playerid,91,DIALOG_STYLE_MSGBOX,"{6EF83C}Ironman", "{FF00EA}Ironman: {6EF83C}ON \n{FFFFFF}Scrie {6EF83C}/ironman {FFFFFF}ca sa-l dezactivezi.", "Ok", "" );
            }
            else
            SetPlayerHealth(playerid, 100.0);
        return 1;
    }
Reply


Messages In This Thread
--> Help With a CMD <-- - by xSkullx - 14.08.2012, 17:49
Re: --> Help With a CMD <-- - by Shetch - 14.08.2012, 18:00
Re : --> Help With a CMD <-- - by Eony - 14.08.2012, 18:03
Re: --> Help With a CMD <-- - by xSkullx - 14.08.2012, 18:03
Re : Re: --> Help With a CMD <-- - by Eony - 14.08.2012, 18:05
Re: --> Help With a CMD <-- - by Shetch - 14.08.2012, 18:08
Re: --> Help With a CMD <-- - by xSkullx - 14.08.2012, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)