PDA

View Full Version : Icon textdraw Help.


MAFIAWARS
22/09/2013, 12:52 PM
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.

http://i43.tinypic.com/oiukgg.png

Tamer
22/09/2013, 01:25 PM
Use Create3DTextlabel.
http://wiki.sa-mp.com/wiki/Create3DTextLabel

DanishHaq
22/09/2013, 01:29 PM
Edit -- I had to wait 2 mins and in that time Tamer T posted the same thing :).

MAFIAWARS
22/09/2013, 02:20 PM
So, Ok. I tried. See.


Create3DTextLabel((text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)



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.


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.

MAFIAWARS
22/09/2013, 03:38 PM
Help?

AnonScripter
22/09/2013, 03:50 PM
Tag is mismatch, Floatx,y,z then distance then VW then testLOS
your types are mismatch these parameters

Problems
22/09/2013, 04:00 PM
You might use OnPlayerPickUpPickup (http://wiki.sa-mp.com/wiki/OnPlayerPickUpPickup) Example if(pickupid == yourpickup)
{
SendClientMessage(playerid,-1,"Type /enter to Enter here.");
return 1;
}

CesarLT
22/09/2013, 04:01 PM
So, Ok. I tried. See.


Create3DTextLabel((text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)



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.


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.


Create3DTextLabel("TYPE /ENTER[90]", COLOR_WHITE, 1726.8827,-1635.9110,20.2168, 1726.8990,-1636.1710,20.2170, 15, 0, 0); // 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.

MAFIAWARS
23/09/2013, 02:24 PM
It isn't working...