Call a function
#6

Quote:
Originally Posted by Jefff
Код:
public LOOOL2()
:P
What do you mean by what?

I know that your functions are only examples, but there are a few errors^^
pawn Код:
public LOOOL(playerid)
{

    SendPlayerFormattedText(playerid,"Virtual World 2", 0);

    return 1;
   
}
pawn Код:
public LOOOL2(playerid)
{

    new world_id;
    world_id = GetPlayerVirtualWorld(playerid);

    if(world_id == 1)
    {

    SendPlayerFormattedText(playerid,"Virtual World 1", 0);

    }

    else if(world_id == 2)
    {

    LOOOL(playerid); // Without timer

    }

    return 1;
}
now I guess it's right
Reply


Messages In This Thread
Call a function - by nesty - 30.07.2009, 22:41
Re: Call a function - by Westie - 30.07.2009, 22:43
Re: Call a function - by nesty - 30.07.2009, 22:49
Re: Call a function - by D3nnis - 30.07.2009, 22:54
Re: Call a function - by Jefff - 30.07.2009, 23:06
Re: Call a function - by D3nnis - 30.07.2009, 23:10
Re: Call a function - by nesty - 31.07.2009, 01:00
Re: Call a function - by nesty - 31.07.2009, 01:08

Forum Jump:


Users browsing this thread: 3 Guest(s)