SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Thread Tools Display Modes
Old 25/09/2013, 01:02 PM   #1
Join Date: Aug 2013
Posts: 56
Reputation: -4
Default HELP /VIPLocker

FLapJAck is offline   Reply With Quote
Old 25/09/2013, 01:11 PM   #2
Voxel's Avatar
Join Date: Sep 2013
Location: The Netherlands
Posts: 578
Reputation: 70
Default Re: HELP /VIPLocker

What exactly is your problem?

judging from your screenshot you are not exactly at the vip locker ? so i supose you need it to only open when you are near it.

use this:
pawn Code:
//put this under your /viplockercommand
IsPlayerInRangeOfPoint(playerid,2.0,x,y,z)) //2.0 = distance u can be away form vip locker, and put the coords of where your vip locker is located at x,y,z
    //show the vip locker dialog
Voxel is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT. The time now is 06:07 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.