local variable "object" shadows a variable at a preceding level
#6

I'm going to give you the simplest example.

pawn Код:
#include < a_samp >

new
    sth // declared as global variable
;

main( ) { }

public OnGameModeInit( )
{
    new
        sth // declared as local variable
    ;
    // code
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)