Damage erro
#4

Quote:
Originally Posted by Gogeta101
Посмотреть сообщение
So what should i do
search for the variable shadowing "playerid" with the identifer "playerid" and get rid of it or rename it.

example:

pawn Код:
#include    "a_samp"

main(){}

new random_stuff_ABC;//now it's not shadowing other variables (like the one in OnGamemodeinit), it's unique now, just as it should be.

public OnGamemodeInit()
{
    new random_stuff;
   
    return 1;
}
identifers of global variables HAVE to be unique, just like
id's in CSS
Reply


Messages In This Thread
Damage erro - by Gogeta101 - 04.09.2014, 18:39
Re: Damage erro - by CutX - 04.09.2014, 19:17
Re: Damage erro - by Gogeta101 - 05.09.2014, 17:21
Re: Damage erro - by CutX - 05.09.2014, 17:50

Forum Jump:


Users browsing this thread: 2 Guest(s)