SA-MP Forums

SA-MP Forums (
-   Server Support (
-   -   credits (

Abhishek. 12/04/2012 05:12 PM

can someone help me make a credit script for my server?

DarkB0y 12/04/2012 05:42 PM

Re: credits
PHP Code:

#pragma unused params
ShowPlayerDialog(playeridDIALOGID3DIALOG_STYLE_MSGBOX"credits","{put ur credits here "ok", "Cancel");
    return 1;

have fun

Abhishek. 13/04/2012 12:52 AM

Re: credits
thnx, am i to enter that in my gamemode?

Mark™ 13/04/2012 06:28 AM

Re: credits

Originally Posted by [bot]fatninja (Post 1794274)
thnx, am i to enter that in my gamemode?


    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.


#define DIALOGID3 101 // 101 is the unique dialog id defined for a dialog named DIALOGID3

Ptcl® 13/04/2012 11:42 AM

Re: credits

            new String[ 1024 ];
            format( String, sizeof( String ),                                ""COL_RED"Credits\n\n\
                                                            "COL_RED"her put any name{FFFFFF}- and his work here ! \n\
                                                                                                                "COL_RED"Gamer {FFFFFF}- Owner and Community Leader.\n\
                                                                                                                "COL_RED"Smokie {FFFFFF}- Have an nice experiance and co-owner\n\
                                                                                                                "COL_RED"Mr.Omer / Karl {FFFFFF}- Best administrator's.\n\
                                                                                                                "COL_LIGHTBLUE"tAxI {FFFFFF}- Vehicle Streamer\n\
                                                                                                                "COL_LIGHTBLUE"Icognito{FFFFFF} - Objects Streamer\n");
                format( String, sizeof( String ),                                "%s"CLB"Double-O-Seven {FFFFFF}- Holding Weapons\n\
                                                                                                                "COL_LIGHTBLUE"Roach {FFFFFF}- Some maps. /PKPA /PKH\n\
                                                                                                                "COL_LIGHTBLUE"[03]Garsino {FFFFFF}- Interiors Menu (/INT)\n\n\n\
                                                                                                                "COL_LIGHTBLUE"Helped with beta testing, help providers, assisting(FFFFFF)\n\
                                                                                                            ", String);

            ShowDialog( playerid, Credits, BOX, "Credits",        String , "Close", "");


This may help you !

All times are GMT. The time now is 10:29 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.