TextDrawShowForPlayer(playerid,deathbox1); TextDrawShowForPlayer(playerid,deathbox2);
TextDrawHideForPlayer(playerid, deathbox1); TextDrawHideForPlayer(playerid, deathbox2);
deathbox1 = TextDrawCreate(660.000000, -11.000000, "_"); TextDrawBackgroundColor(deathbox1, 255); TextDrawFont(deathbox1, 1); TextDrawLetterSize(deathbox1, 0.500000, 7.000000); TextDrawColor(deathbox1, -1); TextDrawSetOutline(deathbox1, 0); TextDrawSetProportional(deathbox1, 1); TextDrawSetShadow(deathbox1, 1); TextDrawUseBox(deathbox1, 1); TextDrawBoxColor(deathbox1, 140); TextDrawTextSize(deathbox1, -250.000000, 0.000000); deathbox2 = TextDrawCreate(660.000000, 394.000000, "_"); TextDrawBackgroundColor(deathbox2, 255); TextDrawFont(deathbox2, 1); TextDrawLetterSize(deathbox2, 0.500000, 7.000000); TextDrawColor(deathbox2, -1); TextDrawSetOutline(deathbox2, 0); TextDrawSetProportional(deathbox2, 1); TextDrawSetShadow(deathbox2, 1); TextDrawUseBox(deathbox2, 1); TextDrawBoxColor(deathbox2, 140); TextDrawTextSize(deathbox2, -250.000000, 0.000000);
CMD:test(playerid, params[]){
TextDrawShowForPlayer (playerid, deathbox1);
TextDrawShowForPlayer (playerid, deathbox2);
return 1;
}
yeah, use a command for testing
PHP код:
|