05.03.2012, 18:13
Yes here is the achievement i made to test.
But when i comment that off and the incude too it goes away and there is no errors, i even asked in the main thread for the incude but no one helped me yet.
Thanks
Nick
pawn Код:
new Ach_PlayerConnect;
//in OnGameModeInti
Ach_PlayerConnect = CreateAchievement("Loyal Player","Good Job!!!~n~Thank you for Comming back to Truckers Inc!!~n~+$100000 and +10 score", 2);//2 just to test it
//now on its own
public OnPlayerAchieve(playerid, achid)
{
if(achid == Ach_Connect)
{
RewardPlayer(playerid, 75000, 0); SetPlayerScore(playerid, GetPlayerScore(playerid)+10);
SendClientMessageToAll(0xFF0000FF, "Someone Just Achieved The Loyalty Achievement!!");
}
return 1;
}
//now under onplayerspawn
GivePlayerAchievement(playerid, Ach_PlayerConnect, 1);//
Thanks
Nick