25.11.2010, 02:52
Quote:
|
Una y otra y otra vez, en vez de crear tanto server de RP te recomiendo que te unas a uno y mas cuando no puedes ni ocultar un textdraw es un consejo...
|
Quote:
|
tira el codigo de este pickup. asi te vamos a poder ayudar mas facilmente dado q es un error de scripteo de algo q se te paso chequear. |
Quote:
|
for(new h = 0; h < sizeof(HouseInfo); h++) { if(PlayerToPoint(7.0, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez])) { if(HouseInfo[h][hOwned] == 1) { if(HouseInfo[h][hRentabil] == 0) { //format(string, sizeof(string), "~w~Dueno de la casa~n~~b~%s~w~~n~Nivel: %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]); format(string, sizeof(string), "~w~Propietario: %s~n~Nivel: %d~n~Costo: $%d.",HouseInfo[h][hOwner],HouseInfo[h][hLevel],HouseInfo[h][hValue]); } else { //format(string, sizeof(string), "~w~Dueno de la casa~n~~b~%s~w~~n~Renta: ~r~$%d ~w~~n~Nivel: %d~n~~w~Escriba ~g~/rcuarto~w~ para rentar este cuarto",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]); format(string, sizeof(string), "~w~Propietario: %s~n~Nivel: %d~n~Costo: $%d.~n~~y~Renta~w~: $%d.",HouseInfo[h][hOwner],HouseInfo[h][hLevel],HouseInfo[h][hValue],HouseInfo[h][hRent]); } //GameTextForPlayer(i, string, 5000, 3); ActualizarTextoTutoEx(i,string,4000) return 1; } else { //format(string, sizeof(string), "~y~Propiedad en Venta~n~~g~Info: ~w~%s ~n~~g~Costo: ~w~$%d~n~~g~ Nivel: ~w~%d~n~~g~/comprarcasa~w~ para comprar",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]); format(string, sizeof(string), "~g~Casa en Venta~n~~w~Descripcion: %s~n~Nivel: %d~n~Costo: ~r~$%d~w~.",HouseInfo[h][hDiscription],HouseInfo[h][hLevel],HouseInfo[h][hValue]); } //GameTextForPlayer(i, string, 5000, 3); ActualizarTextoTutoEx(i,string,4000) return 1; } } |
El ActualizarTextoTutoEx proviene de un Include programado por, si no mal recuerdo, GROVE4l, yo agarrй dicho Include y lo customizй un poco para que de el resultado de la imagen que se ve arriba.
Lo cual seria:
Quote:
|
TextoTuto69[playerid] = TextDrawCreate(22.000000,158.000000,"Texto del Tutorial~n~Lee el Include de ~g~grove4l~w~para mas~n~info"); TextDrawBackgroundColor(TextoTuto69[playerid], 255); TextDrawFont(TextoTuto69[playerid], 1); TextDrawLetterSize(TextoTuto69[playerid], 0.500000, 1.200000); TextDrawColor(TextoTuto69[playerid], -1); TextDrawSetOutline(TextoTuto69[playerid], 0); TextDrawSetProportional(TextoTuto69[playerid], 1); TextDrawSetShadow(TextoTuto69[playerid], 1); TextDrawUseBox(TextoTuto69[playerid], 1); TextDrawBoxColor(TextoTuto69[playerid], 255); TextDrawTextSize(TextoTuto69[playerid], 183.000000, 0.000000); return 1; stock ActualizarTextoTutoEx(playerid,NuevoTexto[],Tiempo) { TextDrawSetString(TextoTuto69[playerid],NuevoTexto); TextDrawShowForPlayer(playerid,TextoTuto69[playerid]); SetTimerEx("ChauText",Tiempo,0,"d",playerid); return 1; } public ChauText(playerid) { TextDrawHideForPlayer(playerid,TextoTuto69[playerid]); return 1; } |


