10.06.2012, 06:51
Streamer Fixed on my own.
Second My Dialog Doesn't responses..
this is the script:
NOTE: i used else if because there are more dialogs above this line.. if i am wrong.. correct me.
and It Responses only till when i Click Base Jump in Main Dialog then when i click Base Jump 1 It doesn't response.. Help me..
Second My Dialog Doesn't responses..
this is the script:
pawn Код:
if(listitem == 0)
{
ShowPlayerDialog(playerid, 111,DIALOG_STYLE_LIST,"{78FF6C}Base{00FFFF}Jumps","{0015FF}Base Jump 1\n{0015FF}Base Jump 2\n{0015FF}Base Jump 3\n{0015FF}Base Jump 4\n{0015FF}Base Jump 5","Teleport","Close");
}
_________________________________________________________________________________________________
else if(dialogid == 111)
{
if(response == 1)
{
if(listitem == 0)
{
if(IsPlayerInDM[playerid] == 0)
{
new str1[128], player2[MAX_PLAYER_NAME];
GetPlayerName(playerid, player2, sizeof(player2));
format(str1,sizeof(str1),"%s has been teleported to Base Jump 1(/bj1)",player2);
SendClientMessageToAll(COLOR_LIGHTCOLOR_BLUE,str1);
SetPlayerPos(playerid, 1666.7014,-1218.3112,233.3750);
SetPlayerInterior(playerid, 0);
SendClientMessage(playerid, COLOR_YELLOW, "Welcome to BaseJump 1");
GivePlayerWeapon(playerid, 46, 1);
}
and It Responses only till when i Click Base Jump in Main Dialog then when i click Base Jump 1 It doesn't response.. Help me..