Dialog for a command
#3

PHP код:
if (strcmp(cmdtext"/lawbook"true) == 0)
        {
         new 
jstring[128];
            new 
playername[MAX_PLAYER_NAME];
            
GetPlayerName(playeridplayernamesizeof(playername));
            
format(jstringsizeof(jstring), "| [ {B4B5B7}%s {FF6347}] {B4B5B7}is reading {FF6347}/Lawbook |"playername);
            
ShowPlayerDialog(playerid,5000,DIALOG_STYLE_MSGBOX,"Lawbook","TEXT","OK","");
                return 
1;
        } 
Sorry i gave you a wrong code,but I am a newbie scripter.I just wanted to help.
Reply


Messages In This Thread
Dialog for a command - by Kudoz - 12.01.2013, 18:17
Re: Dialog for a command - by geohareas - 12.01.2013, 18:21
Re: Dialog for a command - by geohareas - 12.01.2013, 18:23
Re: Dialog for a command - by Kudoz - 12.01.2013, 18:24
Re: Dialog for a command - by geohareas - 12.01.2013, 18:29
Re: Dialog for a command - by Kudoz - 12.01.2013, 18:36
Re: Dialog for a command - by geohareas - 12.01.2013, 18:40
Re: Dialog for a command - by Kudoz - 12.01.2013, 18:50
Re: Dialog for a command - by Kudoz - 12.01.2013, 19:05
Re: Dialog for a command - by geohareas - 12.01.2013, 19:10

Forum Jump:


Users browsing this thread: 3 Guest(s)