Quick playerrange questions[+REP]
#2

Im not sure what was going wrong, but this is what should work:

PHP код:
CMD:pduty(playerid,params[])
{
    if(
groupVariables[playerVariables[playerid][pGroup]][gGroupType] == && playerVariables[playerid][pGroup] != 0)
    {
        new 
string[64];
        if(
IsPlayerInRangeOfPoint(playerid5264.1055,109.8094,1004.6172) && GetPlayerInterior(playerid) == 10)
        {
            if(
IsPlayerInRangeOfPoint(playerid51708.702026,-1669.956909,27.195312) && GetPlayerInterior(playerid) == 18)
            {
                
format(stringsizeof(string), "%s Menu"groupVariables[playerVariables[playerid][pGroup]][gGroupName]);
                
ShowPlayerDialog(playeridDIALOG_LSPDDIALOG_STYLE_LISTstring"Equipment\nRelease Suspect\nClothing\nClear Suspect""Select""Cancel");
            }
        }
    }
    return 
1;

Reply


Messages In This Thread
Quick playerrange questions[+REP] - by Mark_Weston - 19.02.2012, 03:33
Re: Quick playerrange questions[+REP] - by Nuke547 - 19.02.2012, 03:40
Re: Quick playerrange questions[+REP] - by JhnzRep - 19.02.2012, 03:45
Re: Quick playerrange questions[+REP] - by johnnyman1 - 19.02.2012, 03:52
Re: Quick playerrange questions[+REP] - by JhnzRep - 19.02.2012, 03:56
Re: Quick playerrange questions[+REP] - by Mark_Weston - 19.02.2012, 03:59
Re: Quick playerrange questions[+REP] - by JhnzRep - 19.02.2012, 04:07

Forum Jump:


Users browsing this thread: 1 Guest(s)