public OnPlayerEnterCheckpoint(playerid) { new string[256]; new Houseid = PlayerInfo[playerid][pCheckpoint]; switch (HouseInfo[Houseid][h_cpbustype]) { case BUS_TYPE_SEXSHOP: { if (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { ShowPlayerDialog(playerid, DIALOG_SEXSHOP, DIALOG_STYLE_LIST, "Menu", "Dildo\nCondom", "Buy", "Cancel"); } }
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(playerid, DIALOG_SEXSHOP, DIALOG_STYLE_LIST, "Menu", "Dildo\nCondom", "Buy", "Cancel"); } } } return 1; }
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(playerid, DIALOG_SEXSHOP, DIALOG_STYLE_LIST, "Menu", "Dildo\nCondom", "Buy", "Cancel");
}
}
return 1;
}
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(playerid, DIALOG_SEXSHOP, DIALOG_STYLE_LIST, "Menu", "Dildo\nCondom", "Buy", "Cancel");
}
return 1;
}
return 1;
}
Try this
PHP код:
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(playerid, DIALOG_SEXSHOP, DIALOG_STYLE_LIST, "Menu", "Dildo\r\nCondom", "Buy", "Cancel");
}
}
}
return 1;
}
Hmm 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)
{
ShowPlayerDialog(playerid, DIALOG_SEXSHOP, DIALOG_STYLE_LIST, "Menu", "Dildo\nCondom", "Buy", "Cancel");
}
}
return 1;
}
Hmmm just a sec let me think.. try this if it's ain't workin that idk what's da prob
PHP код:
|