SA-MP Forums Archive
problem with command rep+ - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: problem with command rep+ (/showthread.php?tid=579773)



problem with command rep+ - Mijata - 29.06.2015

why command not work when player(vip) type /dcmds

Код:
CMD:dcmds(playerid,params[])
{
   if(pInfo[playerid][Donator] < 1) return SendClientMessage(playerid,red,"Only the donators can see this");
   {
                ShowPlayerDialog(playerid,DIALOG_DCMDS,DIALOG_STYLE_MSGBOX,"VIP commands:","{FFC400}Donator Bronze:/dcar /dheal\n{6B6C6E}Donator Silver:/darmour+ /dcar /dheal\n{FFEA00}Donator Gold:/dskin, /darmour, /dcar,/dheal","OK","");
        }
   return 1;
}



Respuesta: problem with command rep+ - [DOG]irinel1996 - 29.06.2015

PHP код:
CMD:dcmds(playerid,params[])
{
    if(
pInfo[playerid][Donator] < 1) return SendClientMessage(playerid,red,"Only the donators can see this");
    
ShowPlayerDialog(playerid,DIALOG_DCMDS,DIALOG_STYLE_MSGBOX,"VIP commands:","{FFC400}Donator Bronze:/dcar /dheal\n{6B6C6E}Donator Silver:/darmour+ /dcar /dheal\n{FFEA00}Donator Gold:/dskin, /darmour, /dcar,/dheal","OK","");
    return 
1;

PD: stop adding "+rep", in the title you must write a short description of your problem, nothing else.


Re: problem with command rep+ - SpikY_ - 29.06.2015

- REMOVED -


Re: Respuesta: problem with command rep+ - Mijata - 29.06.2015

Quote:
Originally Posted by [DOG]irinel1996
Посмотреть сообщение
PHP код:
CMD:dcmds(playerid,params[])
{
    if(
pInfo[playerid][Donator] < 1) return SendClientMessage(playerid,red,"Only the donators can see this");
    
ShowPlayerDialog(playerid,DIALOG_DCMDS,DIALOG_STYLE_MSGBOX,"VIP commands:","{FFC400}Donator Bronze:/dcar /dheal\n{6B6C6E}Donator Silver:/darmour+ /dcar /dheal\n{FFEA00}Donator Gold:/dskin, /darmour, /dcar,/dheal","OK","");
    return 
1;

PD: stop adding "+rep", in the title you must write a short description of your problem, nothing else.
k but same problem


Re: problem with command rep+ - Bomber07 - 29.06.2015

Do this

Код:
CMD:dcmds(playerid,params[])
{
   if(pInfo[playerid][Donator] < 1)
   {
                ShowPlayerDialog(playerid,DIALOG_DCMDS,DIALOG_STYLE_MSGBOX,"VIP commands:","{FFC400}Donator Bronze:/dcar /dheal\n{6B6C6E}Donator Silver:/darmour+ /dcar /dheal\n{FFEA00}Donator Gold:/dskin, /darmour, /dcar,/dheal","OK","");
                
        } else return SendClientMessage(playerid,red,"Only the donators can see this");
   return 1;
}



Re: problem with command rep+ - Mijata - 29.06.2015

not work now vips can't see list got message only donators can see
and normal players can't see (without message)


Re: problem with command rep+ - nezo2001 - 29.06.2015

on the top
PHP код:
#define DIALOG_DCMDS //dialog number 
Then
PHP код:
CMD:dcmds(playeridparams[])
{
    if(
pInfo[playerid][Donator] < 1) return SendClientMessage(playeridred"Only the donators can see this");
    
ShowPlayerDialog(playerid,DIALOG_DCMDS,DIALOG_STYLE_MSGBOX,"VIP commands:","{FFC400}Donator Bronze:/dcar /dheal\n{6B6C6E}Donator Silver:/darmour+ /dcar /dheal\n{FFEA00}Donator Gold:/dskin, /darmour, /dcar,/dheal","OK","");
    return 
1;




Re: problem with command rep+ - Bomber07 - 29.06.2015

Quote:
Originally Posted by Mijata
Посмотреть сообщение
not work now vips can't see list got message only donators can see
and normal players can't see (without message)
And This

And Give Me Errors.

Код:
CMD:dcmds(playerid,params[])
{
   if(pInfo[playerid][Donator] >= 1)
   {
                ShowPlayerDialog(playerid,DIALOG_DCMDS,DIALOG_STYLE_MSGBOX,"VIP commands:","{FFC400}Donator Bronze:/dcar /dheal\n{6B6C6E}Donator Silver:/darmour+ /dcar /dheal\n{FFEA00}Donator Gold:/dskin, /darmour, /dcar,/dheal","OK","");
                
        } else return SendClientMessage(playerid,red,"Only the donators can see this");
   return 1;
}



Re: problem with command rep+ - Mijata - 30.06.2015

Код:
-FIXED-