HELP Please Dialog
#1

Hello,
i'm looking for a pawn code which can show text in dialog only for one team.

Here an example:

PHP код:
                if (PlayerInfo[playerid][pMember] == TEAM_POLICE)
            {
                
SendClientMessage(playeridCOLOR_BLUE,"Police: /pduty /arrest /suspectf /mdc");
            } 
But i want to put it in this dialog:

PHP код:
if(strcmp(cmd"/help"true) == 0)
    {
        
format(string,sizeof(string),"\t"lyellow2"{00FF00}Добре дошъл %s на помощната страница на{FFFFFF} {FF0000}FiberPlay GangWars!{FFFFFF}\n"PlayerName(playerid));
        
strcat(string,""lyellow2"[GENERAL]: /stats (/t)eam /pm /turfhelp /count\n");
        
strcat(string,""lblue"[GENERAL]: /rules /report /changepass /id /animlist /time\n");
        
strcat(string,""lorange"[GENERAL]: /hitman /teamstats /pay /lotto /bounties /admins\n");
        
strcat(string,""lgreen"[VIP]: /vip /vipusers /viphelp\n");
        
strcat(string,"\t"lred"Gangs: /acceptfaction(/af) /cancelfaction(/cf) /leaders\n\n\t\t"lred"FiberPlay.net");
        
ShowPlayerDialog(playerid,5555,0,""lred"GENERAL HELP",string,"OK","");
        return 
1;
    } 
Тhank you in advance.
Reply


Messages In This Thread
HELP Please Dialog - by |BGG|siraminor - 15.03.2012, 16:01
Re: HELP Please Dialog - by Faisal_khan - 15.03.2012, 16:14
Re: HELP Please Dialog - by |BGG|siraminor - 15.03.2012, 16:15
Re: HELP Please Dialog - by emokidx - 15.03.2012, 16:18
Re: HELP Please Dialog - by Faisal_khan - 15.03.2012, 16:22
Re: HELP Please Dialog - by Faisal_khan - 15.03.2012, 16:24
Re: HELP Please Dialog - by Faisal_khan - 15.03.2012, 16:27
Re: HELP Please Dialog - by |BGG|siraminor - 15.03.2012, 16:32
Re: HELP Please Dialog - by Faisal_khan - 15.03.2012, 16:35

Forum Jump:


Users browsing this thread: 1 Guest(s)