1 errors?
#1

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]


??
Reply
#2

Try this
Код:
Create3DTextLabel("Flower shop",0x00FF00CE,2531.2546,-1519.7716,23.9328,182.1226,0,0);
It will work
+Rep if work
Reply
#3

https://sampwiki.blast.hk/wiki/Create3DTextLabel

Код:
Create3DTextLabel("Flower shop",0x00FF00CE,2531.2546,-1519.7716,23.9328,100.0,0,0);
Reply
#4

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.
Reply
#5

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.
Reply
#6

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.
Reply
#7

Or use this
Код:
Create3DTextLabel("Flower shop", 0x00FF00CE, 2531.2546, -1519.7716, 23.9328, 40.0, GetPlayerVirtualWorld(playerid), 0);
Reply
#8

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");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)