credits
#1

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

PHP код:
CMD:credits(playerid,params[]){
    
#pragma unused params
    
ShowPlayerDialog(playeridDIALOGID3DIALOG_STYLE_MSGBOX"credits","{put ur credits here "ok", "Cancel");
    return 1;

have fun
Reply
#3

thnx, am i to enter that in my gamemode?
Reply
#4

Quote:
Originally Posted by [bot]fatninja
Посмотреть сообщение
thnx, am i to enter that in my gamemode?
pawn Код:
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.

pawn Код:
#define DIALOGID3 101 // 101 is the unique dialog id defined for a dialog named DIALOGID3
Reply
#5

pawn Код:
CMD:credits(playerid,params[])
    {
        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 !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)