PDA

View Full Version : HELP /VIPLocker


FLapJAck
25/09/2013, 01:02 PM
http://i1278.photobucket.com/albums/y509/Ayoung14/sa-mp-047_zpsd1145d4e.png (http://s1278.photobucket.com/user/Ayoung14/media/sa-mp-047_zpsd1145d4e.png.html)

Voxel
25/09/2013, 01:11 PM
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:

//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
}