SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 02/07/2016, 09:11 AM   #1
MayaEU
Huge Clucker
 
Join Date: Nov 2015
Posts: 384
Reputation: 2
Default Pickup and 3DLabel in another virtual world

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);
MayaEU is offline   Reply With Quote
Old 02/07/2016, 09:22 AM   #2
[cS]Owain
Banned
 
Join Date: Dec 2010
Posts: 76
Reputation: 15
Default Re: Pickup and 3DLabel in another virtual world

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
[cS]Owain is offline   Reply With Quote
Old 02/07/2016, 09:27 AM   #3
VincenzoDrift
Little Clucker
 
VincenzoDrift's Avatar
 
Join Date: Jun 2014
Posts: 47
Reputation: 3
Default Re: Pickup and 3DLabel in another virtual world

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: http://wiki.sa-mp.com/wiki/Create3DTextLabel
__________________
Sorry for my bad english
VincenzoDrift is offline   Reply With Quote
Old 02/07/2016, 09:43 AM   #4
MayaEU
Huge Clucker
 
Join Date: Nov 2015
Posts: 384
Reputation: 2
Default Re: Pickup and 3DLabel in another virtual world

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);
MayaEU is offline   Reply With Quote
Old 02/07/2016, 09:47 AM   #5
xJayce
Little Clucker
 
Join Date: Jul 2016
Location: A mango
Posts: 7
Reputation: 2
Default Re: Pickup and 3DLabel in another virtual world

You assigned a value to the variable 'binco' but never used it in the code.
xJayce is offline   Reply With Quote
Old 02/07/2016, 09:52 AM   #6
MayaEU
Huge Clucker
 
Join Date: Nov 2015
Posts: 384
Reputation: 2
Default Re: Pickup and 3DLabel in another virtual world

What to do then?
MayaEU is offline   Reply With Quote
Old 02/07/2016, 10:02 AM   #7
xJayce
Little Clucker
 
Join Date: Jul 2016
Location: A mango
Posts: 7
Reputation: 2
Default Re: Pickup and 3DLabel in another virtual world

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.
xJayce is offline   Reply With Quote
Old 02/07/2016, 10:04 AM   #8
[cS]Owain
Banned
 
Join Date: Dec 2010
Posts: 76
Reputation: 15
Default Re: Pickup and 3DLabel in another virtual world

Just remove 'binco =' and 'new binco;' part.
[cS]Owain is offline   Reply With Quote
Old 02/07/2016, 12:36 PM   #9
MayaEU
Huge Clucker
 
Join Date: Nov 2015
Posts: 384
Reputation: 2
Default Re: Pickup and 3DLabel in another virtual world

it doesnt work it doesnt show it in the interior id 15
MayaEU is offline   Reply With Quote
Old 02/07/2016, 04:02 PM   #10
MayaEU
Huge Clucker
 
Join Date: Nov 2015
Posts: 384
Reputation: 2
Default Re: Pickup and 3DLabel in another virtual world

Anyone?
MayaEU is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
get dynamic pickup virtual world ScIrUsna Scripting Help 1 13/03/2016 07:38 AM
[Ajuda] 3Dlabel + Pickup não aparecem LucasSkyW Português/Portuguese 1 06/08/2014 06:53 AM
[AJUDA] Como colocar Pickup em tal Virtual World Peedro Felix Português/Portuguese 1 12/03/2011 09:32 PM
Pickup in 1 Virtual World? Rolyy Help Archive 4 09/08/2010 03:37 PM
About a virtual world. DevilRP Help Archive 6 27/05/2010 03:59 PM


All times are GMT. The time now is 06:27 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.