Retriving all Arguments (Using: {Float,_}... )
#1

I DO NOT WANT ANYONE POSTING WHO HAS NO IDEA WHAT THEY'RE ON ABOUT

I've actually never bothered using it, so I'd need some insight on how I'd go about retrieving all the arguments and adding them to a Enum

pawn Код:
enum TestFunc
{
      Name[],
      PlotType = 0,
      Float: pPos[]
}

stock TestFunc(Name[], Plot = 0, {Float,_}:...)
{
    if(numargs() == 2)
    {
        printf("Unable to add the runway plot as no points where given");
    } else {

        new paramPos = 2,
        paramCount = numargs();
        while(paramPos < paramCount)
        {

        }
    }
}
Reply


Messages In This Thread
Retriving all Arguments (Using: {Float,_}... ) - by zT KiNgKoNg - 24.10.2014, 21:00
Re: Retriving all Arguments (Using: {Float,_}... ) - by zT KiNgKoNg - 25.10.2014, 09:31
AW: Retriving all Arguments (Using: {Float,_}... ) - by Nero_3D - 25.10.2014, 10:10
Re: Retriving all Arguments (Using: {Float,_}... ) - by zT KiNgKoNg - 25.10.2014, 10:11

Forum Jump:


Users browsing this thread: 2 Guest(s)