A stupid question. Hope someone can answer
#3

that means that you used for example this
pawn Код:
new x;

OnPlayerConnect(playerid)
{
     new x; // this one is being shadowed and will not work properly
     x = playerid;
     return 1;
}
you can fix this by changing the name of the shadowed variable.

this question is not that stupid, i guess you are still learning
Reply


Messages In This Thread
A stupid question. Hope someone can answer(variables being shadowed) - by Soap_MacTavish - 06.10.2011, 05:23
Re: A stupid question. Hope someone can answer - by Dripac - 06.10.2011, 06:13
Re: A stupid question. Hope someone can answer - by sansko - 06.10.2011, 06:19
Re: A stupid question. Hope someone can answer - by Soap_MacTavish - 06.10.2011, 06:30

Forum Jump:


Users browsing this thread: 3 Guest(s)