Icon textdraw Help.
#1

Hello I created Pickup but I want, when we stand on Pickup it say, TYPE /ENTER to Go IN.
Look, on that Pickup, I want the Message.

Reply
#2

Use Create3DTextlabel.
https://sampwiki.blast.hk/wiki/Create3DTextLabel
Reply
#3

Edit -- I had to wait 2 mins and in that time Tamer T posted the same thing .
Reply
#4

So, Ok. I tried. See.

pawn Код:
Create3DTextLabel((text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)
pawn Код:
Create3DTextLabel("TYPE /ENTER[90]", COLOR_WHITE, 1726.8827,-1635.9110,20.2168, 1726.8990,-1636.1710,20.2170, -1, 0);
But Still Text isn't available and Also I am receiving these Warnings.

pawn Код:
E:\SCRIPT\gamemodes\Gamemode.pwn(179) : warning 213: tag mismatch
E:\SCRIPT\gamemodes\Gamemode.pwn(179) : warning 213: tag mismatch
E:\SCRIPT\gamemodes\Gamemode.pwn(179) : warning 202: number of arguments does not match definition
E:\SCRIPT\gamemodes\Gamemode.pwn(179) : warning 202: number of arguments does not match definition
E:\SCRIPT\gamemodes\Gamemode.pwn(711) : warning 213: tag mismatch
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Warnings.
Reply
#5

Help?
Reply
#6

Tag is mismatch, Floatx,y,z then distance then VW then testLOS
your types are mismatch these parameters
Reply
#7

You might use OnPlayerPickUpPickup Example
pawn Код:
if(pickupid == yourpickup)
    {
        SendClientMessage(playerid,-1,"Type /enter to Enter here.");
        return 1;
    }
Reply
#8

Quote:
Originally Posted by MAFIAWARS
Посмотреть сообщение
So, Ok. I tried. See.

pawn Код:
Create3DTextLabel((text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)
pawn Код:
Create3DTextLabel("TYPE /ENTER[90]", COLOR_WHITE, 1726.8827,-1635.9110,20.2168, 1726.8990,-1636.1710,20.2170, -1, 0);
But Still Text isn't available and Also I am receiving these Warnings.

pawn Код:
E:\SCRIPT\gamemodes\Gamemode.pwn(179) : warning 213: tag mismatch
E:\SCRIPT\gamemodes\Gamemode.pwn(179) : warning 213: tag mismatch
E:\SCRIPT\gamemodes\Gamemode.pwn(179) : warning 202: number of arguments does not match definition
E:\SCRIPT\gamemodes\Gamemode.pwn(179) : warning 202: number of arguments does not match definition
E:\SCRIPT\gamemodes\Gamemode.pwn(711) : warning 213: tag mismatch
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Warnings.
pawn Код:
Create3DTextLabel("TYPE /ENTER[90]", COLOR_WHITE, 1726.8827,-1635.9110,20.2168, 1726.8990,-1636.1710,20.2170, 15, 0, 0);
pawn Код:
// 15 - Where the pickup will be seen from, 0 - Virtualworld, 0 - TestLOS - If will be seen through objects or not.
There, hope this will work, if no pm me. Good luck.
Reply
#9

It isn't working...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)