Dialogs?
#1

Hello, I have 2 dialogs which aren't responding to me, /diamondtoys and /diamondweapons.

here's the script for them

PHP код:
CMD:diamondtoys(playeridparams[])
{
    if(!
IsPlayerInRangeOfPoint(playerid42912.23, -2035.5211.01))
    {
        
SendClientMessageEx(playeridCOLOR_WHITE"    You are not in the Diamond Donator Toys room!");
        return 
1;
    }
    if(
PlayerInfo[playerid][pDonator] < 3)
    {
        
SendClientMessageEx(playeridCOLOR_WHITE"* You are not a Diamond Donator");
        return 
1;
    }
    if(
PlayerInfo[playerid][pDonator] == 3)
    {
        
ShowPlayerDialog(playeridBUYTOYSDIAMONDDIALOG_STYLE_MSGBOX"Toy Store""Welcome to the Diamond Donator Toy store! Here you can buy accessories to attach to your character.\n\nFirst, we will choose a slot to store the toy in.","Continue""Cancel");
    }
    return 
1;
}
CMD:diamondweapons(playeridparams[])
{
    if(
IsPlayerInRangeOfPoint(playerid42913.75, -2031.4811.01))
    {
        if(
PlayerInfo[playerid][pDonator] < 3)
        {
            
SendClientMessageEx(playeridCOLOR_WHITE"* You are not Diamond Donator");
        }
        else
        {
            
ShowPlayerDialog(playeridBUYWEPSDIAMONDDIALOG_STYLE_MSGBOX"Weapon Store""Welcome to the Diamond Donator Weapon store! Here you can buy weapons.\n\nFirst, you will choose a weapon.","Continue""Cancel");
        }
    }
    else
    {
        
SendClientMessageExplayeridCOLOR_WHITE"   You are not in the Diamond Weapon store !" );
    }
    return 
1;

by the way there are no errors !! just when i do it it dont respond ..

Thanks a lot for helpers !!
Reply


Messages In This Thread
Dialogs? - by HarryPotter - 28.11.2012, 10:58
Re: Dialogs? - by Edvin - 28.11.2012, 11:01
Re: Dialogs? - by Ballu Miaa - 28.11.2012, 11:01
Re: Dialogs? - by HarryPotter - 28.11.2012, 11:05
Re: Dialogs? - by Edvin - 28.11.2012, 11:09
Re: Dialogs? - by Ballu Miaa - 28.11.2012, 11:10
Re: Dialogs? - by HarryPotter - 28.11.2012, 11:12
Re: Dialogs? - by Smally - 28.11.2012, 11:14
Re: Dialogs? - by HarryPotter - 28.11.2012, 11:17
Re: Dialogs? - by Konstantinos - 28.11.2012, 11:19

Forum Jump:


Users browsing this thread: 2 Guest(s)