aproveitando o topico
quando clico no icone nao acontece nada oq estou fazendo de errado?
TDEditor_PTD[playerid][38] = CreatePlayerTextDraw(playerid, 491.233306, 328.777465, "hud:radar_light");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][38], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][38], 16.000000, 18.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][38], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][38], 16711935);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][38], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][38], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][38], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][38], 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][38], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][38], 0);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][38], true);
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
//cell
if(clickedid == TDEditor_PTD[playerid][38])
{
ShowGPS(playerid, 0);
return 1;
}
//cell
quando clico no icone nao acontece nada oq estou fazendo de errado?
TDEditor_PTD[playerid][38] = CreatePlayerTextDraw(playerid, 491.233306, 328.777465, "hud:radar_light");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][38], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][38], 16.000000, 18.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][38], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][38], 16711935);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][38], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][38], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][38], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][38], 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][38], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][38], 0);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][38], true);
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
//cell
if(clickedid == TDEditor_PTD[playerid][38])
{
ShowGPS(playerid, 0);
return 1;
}
//cell