Please help!
#1

I did when someone want to buy ticket of lotto, he must be in the 24/7 market to buy the ticket, but when I try to buy it's still tell me "You're not at 24/7market"

the code:

CMD:buyticket(playerid,params[])
{
if(!IsPlayerInRangeOfPoint(playerid, 3.0,-1674.8900,14.6211,175.705)
{
SendClientMessage(playerid, COLOR_GREY, "You're not at the 24/7 market!");
return 1;
}

I want to buy only from here: 3.0,-1674.8900,14.6211,175.7058
Reply
#2

NVM i am stupid ...

Edit: Try increasing the range?
Reply
#3

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
NVM i am stupid ...
If u can help dear person, write comment, If u dont have good thing to say sooo dont send comment!
Reply
#4

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
NVM i am stupid ...

Edit: Try increasing the range?
I tried already... I was standing right on the spot and still can not buy.
Reply
#5

Quote:
Originally Posted by Learn
Посмотреть сообщение
If u can help dear person, write comment, If u dont have good thing to say sooo dont send comment!
I did comment something, but i realized it was stupid, so i removed it


did u by any chance use the wrong cords?
Reply
#6

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
I did comment something, but i realized it was stupid, so i removed it


did u by any chance use the wrong cords?
no man, I can't buy no matter where I am, If I am on the point I cant, I am out of the point I cant also! I dont know what to do... and I create this: CreateDynamic3DTextLabel("Type /signcheck to take your payday.", COLOR_YELLOW, 2377.1113,-39.3672,275.5786+0.5,4.0);

and when I enter the game I didnt see the label and I dont get any erros/worngs!
Reply
#7

Try increasing your range if it doesn't work your cords are definitely incorrect.

Код:
CMD:buyticket(playerid,params[]) {
if(!IsPlayerInRangeOfPoint(playerid, 30.0,-1674.8900,14.6211,175.705)) return SendClientMessage(playerid, -1, "You're not at the 24/7 market!");//If he's not in range tell him he's not at the market
else//if he is.
//Sell him the ticket.
return 1;
}
Reply
#8

Quote:
Originally Posted by ISmokezU
Посмотреть сообщение
Try increasing your range if it doesn't work your cords are definitely incorrect.

Код:
CMD:buyticket(playerid,params[]) {
if(!IsPlayerInRangeOfPoint(playerid, 30.0,-1674.8900,14.6211,175.705)) return SendClientMessage(playerid, -1, "You're not at the 24/7 market!");//If he's not in range tell him he's not at the market
else//if he is.
//Sell him the ticket.
return 1;
}
you sure the range "30.0" fix the problem?

I try know and thank u about the answer!
Reply
#9

Quote:
Originally Posted by Learn
Посмотреть сообщение
you sure the range "30.0" fix the problem?

I try know and thank u about the answer!
Like he said, there are not much options:

1. too small range
2. wrong command cords
3. you are standing at the wrong cords

It's one of those, that's pretty much undenieable
Reply
#10

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
Like he said, there are not much options:

1. too small range
2. wrong command cords
3. you are standing at the wrong cords

It's one of those, that's pretty much undenieable
I need use /save to take the right position right? and after delete the numbers I dont need?

edit: if I have worng cords the pawn need to tell me it no?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)