[FilterScript] Launch Missle
#9

Cool

I fixed the commands

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/Launch", cmdtext, true) == 0) //here
    {
        new Float: ics,
        Float: ipsi,
        Float: zeta;
        for(new z; z < MAX_OBJRAZZO; z++)
        {
            GetObjectPos(ObjRazzo[z],ics,ipsi,zeta);
            MoveObject(ObjRazzo[z],ics,ipsi,zeta+1000,80);
        }
        return 1;
    }
    if(strcmp("/ReloadLaunch", cmdtext, true) == 0) //here
    {
        for(new z; z < MAX_OBJRAZZO; z++)
        {
            DestroyObject(ObjRazzo[z]);
        }
        CreateObjects();
        return 1;
    }
    return 0; //here
}
Reply


Messages In This Thread
Launch Missle - by Rapgangsta - 21.10.2010, 14:25
Re: Launch Missle - by sergio_xd - 21.10.2010, 14:32
Re: Launch Missle - by <Weponz> - 21.10.2010, 14:35
Re: Launch Missle - by Brian_Furious - 21.10.2010, 15:04
Re: Launch Missle - by Criss_Angel - 21.10.2010, 15:07
Re: Launch Missle - by royal_king - 21.10.2010, 16:30
Re: Launch Missle - by Den_Deluxe - 21.10.2010, 17:22
Re: Launch Missle - by Dime - 21.10.2010, 17:23
Re: Launch Missle - by DSK_Vyorel - 21.10.2010, 20:28
Re: Launch Missle - by sergio_xd - 21.10.2010, 20:29

Forum Jump:


Users browsing this thread: 3 Guest(s)