CreatePickup problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: CreatePickup problem (
/showthread.php?tid=485585)
CreatePickup problem -
AustinWeerdGuy - 04.01.2014
-Delete-
Re: CreatePickup problem -
Larceny - 04.01.2014
Код:
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
Re: CreatePickup problem -
AustinWeerdGuy - 04.01.2014
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!
Re: CreatePickup problem -
Larceny - 04.01.2014
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);