[HELP] Whats wrong with that dialog?
#4

Try this
PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
    new 
string[256];
    
//if(PlayerInfo[playerid][pMission] <= MISSION_TYPE_CASINO_HOLDUP)
    //{
    
new Houseid PlayerInfo[playerid][pCheckpoint];
    switch (
HouseInfo[Houseid][h_cpbustype])
    {
    
        case 
BUS_TYPE_SEXSHOP:
        {
        if (
GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
        {
(
27712)                   ShowPlayerDialog(playeridDIALOG_SEXSHOPDIALOG_STYLE_LIST"Menu""Dildo\nCondom""Buy""Cancel");
        }
    
    }
    return 
1;

If it's not wroking that this
PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
    new 
string[256];
    
//if(PlayerInfo[playerid][pMission] <= MISSION_TYPE_CASINO_HOLDUP)
    //{
    
new Houseid PlayerInfo[playerid][pCheckpoint];
    switch (
HouseInfo[Houseid][h_cpbustype])
    {
    
        case 
BUS_TYPE_SEXSHOP:
        {
        if (
GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
        {
             
ShowPlayerDialog(playeridDIALOG_SEXSHOPDIALOG_STYLE_LIST"Menu""Dildo\nCondom""Buy""Cancel");
        }
        return 
1;
        
    }
    return 
1;

Reply


Messages In This Thread
[HELP] Whats wrong with that dialog? - by darkokan - 05.10.2014, 14:33
Re: [HELP] Whats wrong with that dialog? - by YanLanger - 05.10.2014, 14:36
Re: [HELP] Whats wrong with that dialog? - by darkokan - 05.10.2014, 14:40
Re: [HELP] Whats wrong with that dialog? - by YanLanger - 05.10.2014, 14:42
Re: [HELP] Whats wrong with that dialog? - by YanLanger - 05.10.2014, 14:51
Re: [HELP] Whats wrong with that dialog? - by darkokan - 05.10.2014, 14:52
Re: [HELP] Whats wrong with that dialog? - by YanLanger - 05.10.2014, 14:59
Re: [HELP] Whats wrong with that dialog? - by darkokan - 05.10.2014, 15:02
Re: [HELP] Whats wrong with that dialog? - by YanLanger - 05.10.2014, 15:02
Re: [HELP] Whats wrong with that dialog? - by darkokan - 05.10.2014, 15:04

Forum Jump:


Users browsing this thread: 1 Guest(s)