Help me to fix it.
#1

The problem is in
pawn Код:
if(strcmp(text[playerid],str4,false) == 0)
So this doesnt unlock the acheivement and still doesnt unlocks I tried alot and I bet the problem is in the above line I gave and the full function is this. given below
pawn Код:
new filen[240];
    format(filen,sizeof(filen),"SecretPhrase.ini");
    new str4[128];
    format(str4,sizeof(str4),"%s",dini_Get(filen,"SecretPhrase"));
    if(strcmp(text[playerid],str4,false) == 0)
    {
    if(PlayerInfo[playerid][ClanAward] == 0)
    {
    SendClientMessage(playerid,COLOR_YELLOW,"You Have unlocked the achievement 'Secret Phrase' and received 25 Gamescore Points.");
    SendClientMessage(playerid,COLOR_YELLOW,"BOOM! Congratulations! Keep quiet. Don't tell anyone otherwise You banned..?");
    SendClientMessage(playerid,COLOR_RED,"Tim's FreeRoam/RolePlay - SkR Clans FreeRoam/RolePlay :-");
    SendClientMessage(playerid,COLOR_SAMP,"Congratulations! Your acheivement 'Secret Phrase' is unlocked. You so fucking smart dude");
    SendClientMessage(playerid,COLOR_GREY,"You've been given a check of 100k by the Server Team");
    PlayerInfo[playerid][GameScore] += 25;
    new str3[240],str4[240],name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(str4,sizeof(str4),"Secret Phrase, How he knew that?");
    format(str3,sizeof(str3),"%s has unlocked the acheivement, ""%s""",name,str4);
    SendAdminMessage(COLOR_YELLOW,1,str3);
    GivePlayerMoney(playerid, 100000);
    GameTextForPlayer(playerid, "$100000", 3000, 1);
    PlayerInfo[playerid][ClanAward] = 1;
    }
    }
Reply
#2

no reply..? why..?
Reply
#3

fucking why no reply? u idiots
Reply
#4

paste all SecretPhras information and i will help you
Reply
#5

idiots? you are the one who is idiot.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)