09.08.2009, 20:08
error 054: unmatched closing brace ("}") means you have an extra '}' in your code, pressumably in "public OnPlayerSpawn(playerid)"
warning 209: function "OnPlayerSpawn" should return a value means in the callback for "OnPlayerSpawn" you either removed the "return 1;" line or you closed the callback to early
Example:
warning 209: function "OnPlayerSpawn" should return a value means in the callback for "OnPlayerSpawn" you either removed the "return 1;" line or you closed the callback to early
Example:
pawn Код:
public OnPlayerSpawn(playerid)
{
If(PlayerIsHappy[playerid])
{
ClayPlayerHands(playerid);
}
} //This is closing it off so that
return 1; //This is outside of OnPlayerSpawn now
}