Icon textdraw Help. -
MAFIAWARS - 22.09.2013
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.
Re: Icon textdraw Help. -
Tamer - 22.09.2013
Use Create3DTextlabel.
https://sampwiki.blast.hk/wiki/Create3DTextLabel
Re: Icon textdraw Help. -
DanishHaq - 22.09.2013
Edit -- I had to wait 2 mins and in that time Tamer T posted the same thing

.
Re: Icon textdraw Help. -
MAFIAWARS - 22.09.2013
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.
Re: Icon textdraw Help. -
MAFIAWARS - 22.09.2013
Help?
Re: Icon textdraw Help. -
AnonScripter - 22.09.2013
Tag is mismatch, Floatx,y,z then distance then VW then testLOS
your types are mismatch these parameters
Re: Icon textdraw Help. -
Problems - 22.09.2013
You might use
OnPlayerPickUpPickup Example
pawn Код:
if(pickupid == yourpickup)
{
SendClientMessage(playerid,-1,"Type /enter to Enter here.");
return 1;
}
Re: Icon textdraw Help. -
CesarLT - 22.09.2013
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.
Re: Icon textdraw Help. -
MAFIAWARS - 23.09.2013
It isn't working...