Little bit commands lost
#1

Hello guys i tried to make new advertisement CMD for my Script But there're some cmds lost i can't do any thing else any one can help me and continue it, because when i wrote /ads Dialog appear but when i press on any choice nothing appear so please Am really need some help, and it will be helpful for all Roleplay server

PHP код:
CMD:ad(playeridparams[])
{
    
SendClientMessageEx(playeridCOLOR_WHITE"The /ad command has been removed - use /ads or /advertisements.");
    return 
1;
}
CMD:ads(playeridparams[]) {
    return 
cmd_advertisements(playeridparams);
}
CMD:advertisements(playeridparams[]) {
    if(
gPlayerLogged{playerid} == 0) {
        
SendClientMessageEx(playeridCOLOR_GREY"You're not logged in.");
    }
    else if(
GetPVarType(playerid"Injured")) {
        
SendClientMessageEx(playeridCOLOR_GREY"You can't use advertisements while injured.");
    }
    else if(
PlayerCuffed[playerid] != 0) {
        
SendClientMessageEx(playeridCOLOR_GREY"You can't use advertisements right now.");
    }
    else if(
PlayerInfo[playerid][pJailTime] > 0) {
        
SendClientMessageEx(playeridCOLOR_GREY"You can't use advertisements while in jail.");
    }
    else 
ShowPlayerDialog(playeridDIALOG_ADMAINDIALOG_STYLE_LIST"Advertisements""List Advertisements\nSearch Advertisements\nPlace Advertisement\nPlace Priority Advertisement""Select""Cancel");
 return 
1;

Thanks
Reply


Messages In This Thread
Little bit commands lost - by aDo7 - 19.11.2013, 21:09
Re: Little bit commands lost - by StuartD - 19.11.2013, 21:12
Re: Little bit commands lost - by aDo7 - 19.11.2013, 21:14
Re: Little bit commands lost - by aDo7 - 19.11.2013, 21:19
Re: Little bit commands lost - by StuartD - 19.11.2013, 21:20
Re: Little bit commands lost - by aDo7 - 19.11.2013, 21:25
Re: Little bit commands lost - by StuartD - 19.11.2013, 21:29
Re: Little bit commands lost - by aDo7 - 19.11.2013, 21:34
Re: Little bit commands lost - by aDo7 - 19.11.2013, 21:51
Re: Little bit commands lost - by aDo7 - 19.11.2013, 21:58

Forum Jump:


Users browsing this thread: 1 Guest(s)