Originally Posted by [bot]fatninja
thnx, am i to enter that in my gamemode?
ShowPlayerDialog(playerid, DIALOGID3, DIALOG_STYLE_MSGBOX, "credits" "your credits", "ok", "Cancel");
Put this code in your gamemode along with other commands and not under any public callback.Also define your dialog with a dialog id at the top of your script along with other defines.
#define DIALOGID3 101 // 101 is the unique dialog id defined for a dialog named DIALOGID3