Keypad Door Problem With Message
#1

Quote:

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (newkeys & KEY_SECONDARY_ATTACK)
{
if(gTeam[playerid] == Police)
if(IsPlayerInRangeOfPoint(playerid, 1.0,2481.3732, -1671.9863, 13.8873))
{
if (isopen1 == 0)
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "What Would You Like To Do", "Open\nClose\nInfo", "Select", "Close");
MoveObject(test,2494.1902, -1670.2520, 11.6533,0.90);
ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 4.0, 0, 0, 0, 0, 0);
GameTextForPlayer(playerid, "~b~Cell 1 ~g~Opening",1500,4);
isopen1 = 1;
return 1;
}
else if(gTeam[playerid] == Mafia)
{
SendClientMessage(playerid,COLOR_BLUE,"Sorry Your Not On The Police Team ");
}
if (isopen1 == 1)
{
MoveObject(test, 2485.69, -1670.25, 11.65,0.90);
ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 4.0, 0, 0, 0, 0, 0);
GameTextForPlayer(playerid, "~b~Cell 1 ~r~ Closing",1500,4);
isopen1 = 0;
return 1;
}
}
}
return 1;
}

But its not returning the message
Reply


Messages In This Thread
Keypad Door Problem With Message - by zT KiNgKoNg - 06.07.2012, 10:32
Re: Keypad Door Problem With Message - by jaami - 06.07.2012, 11:56
Re: Keypad Door Problem With Message - by zT KiNgKoNg - 06.07.2012, 13:16
Re: Keypad Door Problem With Message - by clarencecuzz - 06.07.2012, 13:35
Re: Keypad Door Problem With Message - by clarencecuzz - 06.07.2012, 13:43
Re: Keypad Door Problem With Message - by Zach7 - 06.07.2012, 20:36

Forum Jump:


Users browsing this thread: 1 Guest(s)