Pickup Problem...
#1

Hello,
I try to make an license system, and to start the exam, you need to pick up a pickup in front of the Driving School. The problem is that the pickup don't spawn on the place that I gave it. Below you see the code of the pickup:
Код:
drivingschool = CreatePickup(1239, 23, -2031.0737, -100.4808, 35.1641, -1);
	
	DSmenu = CreateMenu("Driving School - Exam:",1,200,200,400,35);
	AddMenuItem(DSmenu, 0, "Try driving exam");
	AddMenuItem(DSmenu, 0, "Practice for exam");
	AddMenuItem(DSmenu, 0, "Cancel");
	return 1;
}
Can someone tell me why it's not working?
Greets,'
sean5874

I wish all people here a happy newyear!
Reply
#2

i think it's because of the virtual world u have asing to the pickup

thy this
pawn Код:
drivingschool = CreatePickup(1239, 23, -2031.0737, -100.4808, 35.1641, 1);
Reply
#3

Quote:
Originally Posted by the_chaoz
i think it's because of the virtual world u have asing to the pickup

thy this
pawn Код:
drivingschool = CreatePickup(1239, 23, -2031.0737, -100.4808, 35.1641, 1);
That pickup will be visible in virtul world with ID 1 only.
Reply
#4

Quote:

i think it's because of the virtual world u have asing to the pickup

thy this

PAWN Code:
drivingschool = CreatePickup(1239, 23, -2031.0737, -100.4808, 35.1641, 1);

Quote:

i think it's because of the virtual world u have asing to the pickup

thy this

PAWN Code:
drivingschool = CreatePickup(1239, 23, -2031.0737, -100.4808, 35.1641, 1);

Thanks for the tips, but unfortunately the problem isn't solved with this, what could i do?
Reply
#5

you should make it to the id of the virtual world it in.
Outside: = 0
Reply
#6

Quote:
Originally Posted by Oxside
you should make it to the id of the virtual world it in.
Outside: = 0
It still don't work...
Reply
#7

are u sure that the cordenates are Ok

if they are ok sorry but i can't help u :S
didn't find any problem with the code
Reply
#8

are you sure you changed CreatePickup(1239, 23, -2031.0737, -100.4808, 35.1641, THIS);
to the corrent virtual world?
Reply
#9

Quote:
Originally Posted by Oxside
are you sure you changed CreatePickup(1239, 23, -2031.0737, -100.4808, 35.1641, THIS);
to the corrent virtual world?
He has -1 there in his first post, which means its visible in all virtual worlds.
Reply
#10

i have same problem. in one place 2 pickups dont work but all anothers work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)