Pickup and 3DLabel in another virtual world
#1

Hello, how to make those show in virtual world 27?

pawn Code:
CreateStreamPickup(1275, 1, 208.8182,-100.6965,1005.2578 , 100 ); //inside binco
    Create3DTextLabel("[Binco]\n faction/families",0xFFFFFFFF, 217.6668,-98.4731,1005.2578, 20,0,1);
Reply
#2

These are correct format of the above functions:
Code:
Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)
So this is how you make 3d text label appear in world 27 :
Quote:

Create3DTextLabel("[Binco]\n faction/families",0xFFFFFFFF, 217.6668,-98.4731,1005.2578, 100, 27,1);

CreateStreamPickup is not a SA-MP native, it is from a include and by looking at that include it doesn't support custom worldid. Use CreatePickup instead
Reply
#3

For Pickup if you use this include i don't know. I suggest you to use Incognito's streamer.

For 3D Text write this:
Code:
Create3DTextLabel("[Binco]\n faction/families", 0xFFFFFFFF, 217.6668, -98.4731, 1005.2578, 20, 27, 1);
I suggest you to read this: https://sampwiki.blast.hk/wiki/Create3DTextLabel
Reply
#4

But why do i get warning, it tells me binco never used

pawn Code:
new binco;
    binco = CreatePickup(1242, 2, 1503.3359, 1432.3585, 10.1191, 27);
Reply
#5

You assigned a value to the variable 'binco' but never used it in the code.
Reply
#6

What to do then?
Reply
#7

if you aren't planning to use the pickup anywhere else in the script just do
PHP Code:
CreatePickup(124221503.33591432.358510.119127); 
else, the variable binco should be global not local and use it under OnPlayerPickUpPickUp or so.
Reply
#8

Just remove 'binco =' and 'new binco;' part.
Reply
#9

it doesnt work it doesnt show it in the interior id 15
Reply
#10

Anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)