PDA

View Full Version : Problem with selectable textdraw


verlaj
27/07/2013, 02:24 PM
as i am using this

CreatePlayerTextDraw

it isn't working with


public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(clickedid == TextdrawClassZ)
{



so is there any other code, which i could use ?

Donvalley
27/07/2013, 02:29 PM
all the info you need here:

http://wiki.sa-mp.com/wiki/CreatePlayerTextDraw

JimmyCh
27/07/2013, 02:29 PM
OnPlayerClickPlayerTextDraw (http://wiki.sa-mp.com/wiki/OnPlayerClickPlayerTextDraw)
This should work :)

EDIT: As I see from the title, you need SELECTABLE textdraw, you can use this too:
PlayerTextDrawSetSelectable (http://wiki.sa-mp.com/wiki/PlayerTextDrawSetSelectable).

verlaj
27/07/2013, 02:33 PM
Thank you very much :)