PDA

View Full Version : Textdraws :(


Ryan_Obeles
08/05/2012, 10:28 AM
guys i dont know why but loook at this image
http://img88.imageshack.us/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

Jonny5
08/05/2012, 11:32 AM
have you set it with this function


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