CreatePickup problem
#1

-Delete-
Reply
#2

Код:
2309.58, -8.38, 26.74 0
That zero is not part of the coords.

Код:
CreatePickup(1239, 23, 2309.58, -8.38, 26.74, -1);
I noticed you're using pickup type 23, but I think it is not a valid typeid.

https://sampwiki.blast.hk/wiki/PickupTypes
Reply
#3

Quote:
Originally Posted by Larceny
Посмотреть сообщение
Код:
2309.58, -8.38, 26.74 0
That zero is not part of the coords.

Код:
CreatePickup(1239, 23, 2309.58, -8.38, 26.74, -1);
I noticed you're using pickup type 23, but I think it is not a valid typeid.

https://sampwiki.blast.hk/wiki/PickupTypes
Thanks man! But how do I move the "CreateDynamic3DTextLabel"? I am noob

I want
Код:
CreateDynamic3DTextLabel("Type /robbank to \nrob the bank.",COLOR_YELLOW,2388.4727, -1596.8754, 785.6183+0.5,8.0);
to

Код:
1239, 23, 2309.58, -8.38, 26.74, -1
If you will help me I will give +rep!
Reply
#4

Quote:
Originally Posted by AustinWeerdGuy
Посмотреть сообщение
how do I move the "CreateDynamic3DTextLabel"?

I want
Код:
CreateDynamic3DTextLabel("Type /robbank to \nrob the bank.",COLOR_YELLOW,2388.4727, -1596.8754, 785.6183+0.5,8.0);
to

Код:
1239, 23, 2309.58, -8.38, 26.74, -1
Here:
pawn Код:
CreateDynamic3DTextLabel("Type /robbank to \nrob the bank.",COLOR_YELLOW,2309.58, -8.38, 26.74+0.5,8.0);
You just need the X, Y and Z coordinates:
Код:
CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld)
CreatePickup(1239, 23, 2309.58, -8.38, 26.74, -1);
And then change the X, Y, Z coordinates of the 3DTextLabel:
Код:
CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance);
CreateDynamic3DTextLabel("Type /robbank to \nrob the bank.",COLOR_YELLOW,2388.4727, -1596.8754, 785.6183+0.5,8.0);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)