How to make command working only on one place?
#1

Hello, I'm wondering is it posible to make command working only on one place? I mean if I'm on specific parking lot the command works only there? And if I'm on another place and type /tune for example to show please go to Tune parking?

P.S Sorry for my English it's not very good
Reply
#2

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Good luck
Reply
#3

Ofcourse,
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint


EDIT:
@Hoss
Quote:
Originally Posted by Hoss
Посмотреть сообщение
Lol Posted at the same time x]
Reply
#4

Код:
if(PlayerToPoint(range,playerid, x, y ,z)
{
//code

else
{
SendClientMessage(playerid, COLOR, "You are not at right place");
}
}
Reply
#5

Well I do not expect to get an answer so fast... Thank you guys
Reply
#6

Thanks I was looking for this too..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)