Hey Leute ich habe ein Problem und zwar habe ich mich an ein clickbaren Textdraw rangesetzt jedoch tut da nix ich weiß nicht wieso vill weiß einer von euch mehr
Code
//Oben
new PlayerText:TSP;
new PlayerText:Textdraw1[MAX_PLAYERS];
new PlayerText:Textdraw2[MAX_PLAYERS];
//OnPlayerConne.
TSP = CreatePlayerTextDraw(playerid,765.000000, 342.000000, "New Textdraw");
PlayerTextDrawBackgroundColor(playerid,TSP, 255);
PlayerTextDrawFont(playerid,TSP, 1);
PlayerTextDrawLetterSize(playerid,TSP, 0.490000, 5.799996);
PlayerTextDrawColor(playerid,TSP, -1);
PlayerTextDrawSetOutline(playerid,TSP, 0);
PlayerTextDrawSetProportional(playerid,TSP, 1);
PlayerTextDrawSetShadow(playerid,TSP, 1);
PlayerTextDrawUseBox(playerid,TSP, 1);
PlayerTextDrawBoxColor(playerid,TSP, 255);
PlayerTextDrawTextSize(playerid,TSP, -6.000000, -1.000000);
PlayerTextDrawSetSelectable(playerid,TSP, 0);
Textdraw1[playerid] = CreatePlayerTextDraw(playerid,60.000000, 393.000000, "Register/Login");
PlayerTextDrawBackgroundColor(playerid,Textdraw1[playerid], 255);
PlayerTextDrawFont(playerid,Textdraw1[playerid], 1);
PlayerTextDrawLetterSize(playerid,Textdraw1[playerid], 0.500000, 1.000000);
PlayerTextDrawColor(playerid,Textdraw1[playerid], -1);
PlayerTextDrawSetOutline(playerid,Textdraw1[playerid], 0);
PlayerTextDrawSetProportional(playerid,Textdraw1[playerid], 1);
PlayerTextDrawSetShadow(playerid,Textdraw1[playerid], 1);
PlayerTextDrawSetSelectable(playerid,Textdraw1[playerid], 1);
Textdraw2[playerid] = CreatePlayerTextDraw(playerid,460.000000, 390.000000, "Infos");
PlayerTextDrawBackgroundColor(playerid,Textdraw2[playerid], 255);
PlayerTextDrawFont(playerid,Textdraw2[playerid], 1);
PlayerTextDrawLetterSize(playerid,Textdraw2[playerid], 0.500000, 1.000000);
PlayerTextDrawColor(playerid,Textdraw2[playerid], -1);
PlayerTextDrawSetOutline(playerid,Textdraw2[playerid], 0);
PlayerTextDrawSetProportional(playerid,Textdraw2[playerid], 1);
PlayerTextDrawSetShadow(playerid,Textdraw2[playerid], 1);
PlayerTextDrawSetSelectable(playerid,Textdraw2[playerid], 1);
PlayerTextDrawShow(playerid, TSP);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);
PlayerTextDrawShow(playerid, Textdraw2[playerid]);
SelectTextDraw(playerid, 0xFF4040AA);
//untem im Script
if(clickedid == Textdraw1[playerid])
{
SpawnPlayer(playerid);
CancelSelectTextDraw(playerid);
}else if(clickedid == Textdraw2[playerid]) {
SendClientMessage(playerid,0xFFFFFFAA,"Endilcih");
}
Alles anzeigen
Jedes mall wenn ich das Script ferig mache kommt das
warning 213: tag mismatch
warning 213: tag mismatch
M.F.G
Blaizerado