ERROR :/
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
Код:
if(dialogid == 1)
{
    if(response == 1)
    {
        new w[128];
    }
    if(response == 0)
    {

    }
}
Variables that you create are ONLY available in the block they were created in (marked in green). It it not known in any other blocks (marked in red). This is called the 'scope' of a variable.
Noo,i alerty defined w[128];
if(response == 1)
{
new pFile[128], pIP[16], w[128], gw[128];
Reply


Messages In This Thread
ERROR :/ - by Ћilvėnas - 29.04.2011, 07:07
Re: ERROR :/ - by Raimis_R - 29.04.2011, 07:13
Re: ERROR :/ - by Vince - 29.04.2011, 07:18
Re: ERROR :/ - by Ћilvėnas - 29.04.2011, 07:41
Re: ERROR :/ - by Vince - 29.04.2011, 07:50
Re: ERROR :/ - by Ћilvėnas - 29.04.2011, 07:53
Re: ERROR :/ - by Ћilvėnas - 29.04.2011, 08:18
Re: ERROR :/ - by Antonio144 - 29.04.2011, 08:27
Re: ERROR :/ - by Ћilvėnas - 29.04.2011, 08:38
Re: ERROR :/ - by Raimis_R - 29.04.2011, 09:06

Forum Jump:


Users browsing this thread: 1 Guest(s)