Thread: credits
View Single Post
Old 13/04/2012, 06:28 AM   #4
Markô's Avatar
Join Date: Apr 2011
Location: Ile-de-France
Posts: 1,821
Reputation: 440
Default Re: credits

Originally Posted by [bot]fatninja View Post
thnx, am i to enter that in my gamemode?
pawn Code:
    ShowPlayerDialog(playerid, DIALOGID3, DIALOG_STYLE_MSGBOX, "credits" "your credits", "ok", "Cancel");
    return 1;

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.

pawn Code:
#define DIALOGID3 101 // 101 is the unique dialog id defined for a dialog named DIALOGID3
Markô is online now   Reply With Quote