05.09.2014, 17:50
search for the variable shadowing "playerid" with the identifer "playerid" and get rid of it or rename it.
example:
identifers of global variables HAVE to be unique, just like
id's in CSS
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;
}
id's in CSS