1 errors? - 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: 1 errors? (
/showthread.php?tid=468498)
1 errors? -
boomerboom - 08.10.2013
Line:
Код:
Create3DTextLabel("Flower shop",0x00FF00CE,2531.2546,-1519.7716,23.9328,182.1226,0,0,0);
Error:
Код:
C:\Users\Andrijana\Desktop\RP\gamemodes\Untitled.pwn(150) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Errors.
[/CODE]



??
Re: 1 errors? -
iFiras - 08.10.2013
Try this
Код:
Create3DTextLabel("Flower shop",0x00FF00CE,2531.2546,-1519.7716,23.9328,182.1226,0,0);
It will work
+Rep if work
Re: 1 errors? -
Jeffry - 08.10.2013
https://sampwiki.blast.hk/wiki/Create3DTextLabel
Код:
Create3DTextLabel("Flower shop",0x00FF00CE,2531.2546,-1519.7716,23.9328,100.0,0,0);
Re: 1 errors? -
Konstantinos - 08.10.2013
pawn Код:
Create3DTextLabel("Flower shop", 0x00FF00CE, 2531.2546, -1519.7716, 23.9328, 40.0, 0, 0);
Instead of the drawdistance you use the angle and 0, so basically more parameters than it expected.
Re: 1 errors? -
boomerboom - 08.10.2013
Quote:
Originally Posted by Konstantinos
pawn Код:
Create3DTextLabel("Flower shop", 0x00FF00CE, 2531.2546, -1519.7716, 23.9328, 40.0, 0, 0);
Instead of the drawdistance you use the angle and 0, so basically more parameters than it expected.
|
Didn't work :/ don't see it ingame.
Re: 1 errors? -
Konstantinos - 08.10.2013
You need to be in virtual world 0 and the drawdistance you can see this label from away is 40.0
Try making the drawdistance higher and make sure the coordinates are correct too.
Re: 1 errors? -
iFiras - 08.10.2013
Or use this
Код:
Create3DTextLabel("Flower shop", 0x00FF00CE, 2531.2546, -1519.7716, 23.9328, 40.0, GetPlayerVirtualWorld(playerid), 0);
Re: 1 errors? -
Aleksabre - 08.10.2013
I can help you with this
pawn Код:
OnPlayerCommandText
if(strcmp("/any command here you wish to add here", cmdtext, true, 9) == 0)
{
new Text3D:label = Create3DTextLabel("type here what do you want to be above your head", 0xB4B4B4FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.3);
SendClientMessage(playerid, 0xFFFFFFAA, "type something here if you want");