(Help) SAPD door only to
#6

Quote:
Originally Posted by BroZeus
View Post
can u give the coords of place where you want to create that sliding door
Code:
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
    if(pickupid == DoorPickup) //Making sure that the player is in the pickup for the door
    {
        if(pInfo[playerid][pSFPD; >= 1) //Checking if the player is in SAPD (Change for your script)
        {
            SetPlayerPos(playerid, 276.1867,122.1338,1004.6172,269.0974); //Set this to where it will TP the player on entry
            SendClientMessage(playerid, -1, "Hello Mr. Police man"); //The message the player will get if they can enter
        }
    }
    else SendClientMessage(playerid, -1, "You're not a cop"); //The messag ethe player will get if they're NOT a cop
    return 1;
}
Reply


Messages In This Thread
(Help) SAPD door only to - by NTVbeleza - 14.03.2014, 03:19
Re: (Help) SAPD door only to - by Flake. - 14.03.2014, 05:04
Re: (Help) SAPD door only to - by NTVbeleza - 15.03.2014, 00:23
Re: (Help) SAPD door only to - by NTVbeleza - 16.03.2014, 09:10
Re: (Help) SAPD door only to - by BroZeus - 16.03.2014, 09:14
Re: (Help) SAPD door only to - by NTVbeleza - 16.03.2014, 09:24
Re: (Help) SAPD door only to - by BroZeus - 16.03.2014, 09:34
Re: (Help) SAPD door only to - by NTVbeleza - 16.03.2014, 09:40
Re: (Help) SAPD door only to - by Lloyde - 16.03.2014, 10:00

Forum Jump:


Users browsing this thread: 1 Guest(s)