24.08.2011, 21:55
@Michael, you don't have to check for achievements, it's done by the include. 
And according to your achievement method, you should use SetPlayerAchievement:

And according to your achievement method, you should use SetPlayerAchievement:
pawn Код:
new points;
//OnGameModeInit:
points = CreateAchievement("50 Points","Congratz, you have over 50 points !! ~n~ Now you can use the Vehicle Missiles ! (/addmissiles)",50);
public OnPlayerSpawn(playerid) //or somewhere where you'd like to update the ach value with the score. (Normally Spawn)
{
SetPlayerAchievement( playerid, points, GetPlayerScore(playerid) ); //So If he reaches fifty score, he gets the ach.
return true;
}
public OnPlayerAchieve( playerid, achid )
{
if(achid == points) SendClientMessage(playerid,COLOR_GREEN, "Congratz ! You just got an achievement");
}