05.07.2011, 02:51
You need to change the variable that you create within the public to another name, since there is already a variable called 'classid' for the public.
Also, to remove the unreachable code warning, you need to remove the returns inside of the if and else statements. You do not need them, as either way, it returns, making the code unable to reach the next step in the callback.
pawn Код:
new skin = GetPlayerSkin(playerid);
if(skin == 117)