26.07.2012, 12:40
Hey, I have one problem with OnPlayerClickPlayerTextDraw press on box but nothing.
OnPlayerClickPlayerTextDraw
Color dont change.
Sorry for bad English knowledge
Quote:
TurgausTDColor[playerid][0] = CreatePlayerTextDraw(playerid,183.000000, 348.000000, "|"); PlayerTextDrawAlignment(playerid,TurgausTDColor[playerid][0], 2); PlayerTextDrawBackgroundColor(playerid,TurgausTDCo lor[playerid][0], 255); PlayerTextDrawFont(playerid,TurgausTDColor[playerid][0], 1); PlayerTextDrawLetterSize(playerid,TurgausTDColor[playerid][0], -0.040000, 1.69999; PlayerTextDrawColor(playerid,TurgausTDColor[playerid][0], 16711935); PlayerTextDrawSetOutline(playerid,TurgausTDColor[playerid][0], 0); PlayerTextDrawSetProportional(playerid,TurgausTDCo lor[playerid][0], 1); PlayerTextDrawSetShadow(playerid,TurgausTDColor[playerid][0], 0); PlayerTextDrawUseBox(playerid,TurgausTDColor[playerid][0], 1); PlayerTextDrawBoxColor(playerid,TurgausTDColor[playerid][0], 16711935); PlayerTextDrawTextSize(playerid,TurgausTDColor[playerid][0], 2.000000, 12.000000); PlayerTextDrawShow(playerid, TurgausTDColor[playerid][0]); PlayerTextDrawSetSelectable(playerid, TurgausTDColor[playerid][0], 1); |
Quote:
if(playertextid == TurgausTDColor[playerid][0]) { ChangeVehicleColorEx(TurgausMasina[playerid],1,1); PlayerPlaySound(playerid, 2208, 0.0, 0.0, 10.0); } |
Sorry for bad English knowledge