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

Quote:
Originally Posted by [bot]fatninja View Post
thnx, am i to enter that in my gamemode?
Code:
CMD:credits(playerid,params[])
{ 
    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.

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