Textdraws :(
#1

guys i dont know why but loook at this image
/imageshack/img88/5426/samp010rp.png
the mouse does not pop up and i cant click it can anyone help me??

public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if (clickedid != Text:Next)
{
switch(clickedid) // This is far more efficient than using an if-elseif-else structure
{
case 0: // Listitems start with 0, not 1
{
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,1283.8524,-1385.5304,-10.0);
SetPlayerCameraPos(playerid,1283.8524,-1385.5304,25.8896);
SetPlayerCameraLookAt(playerid,1295.6960,-1422.5111,14.9596);
SendClientMessage(playerid, COLOR_YELLOW,"When you are bored u can play at the paintball arena");
SendClientMessage(playerid, COLOR_YELLOW,"Invite friends so u will have fun in the paintball with your friends");
return 1;
}
case 1:
{
CancelSelectTextDraw(playerid);
return 1;
}
case 2:
{
return 1;
}
}
}
return 1;
}

if thats not the format pls kalcor if this is a bug pls fix it cause i need it for my next forum release
Reply
#2

have you set it with this function


https://sampwiki.blast.hk/wiki/TextDrawSetSelectable
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)