16.11.2013, 12:29
friend is actually NULL.
It should be:
But again, it'd return 0 in the first place since there weren't any rows and it'd show DIALOG_INVITEFR dialog.
It should be:
pawn Код:
if(IsAcceptedFriend(playerid, GetPlayerNick(clickedplayerid)))