SA-MP Forums Archive
Problema con el terreno - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Problema con el terreno (/showthread.php?tid=131646)



Problema con el terreno - cheriwi - 04.03.2010

Buenas


Despuйs de aсadir unos textos con timer en el servidor, desaparece el terreno, se ve todo gris, excepto los objetos que han sido aсadidos manualmente.

El gamemode compila perfectamente, y los textos funcionan bien, solo que dejу de verse el suelo, montaсas, cielo etc.

Asн estб organizado
Quote:

public OnPlayerConnect(playerid)
{
//Textos
Textdraw0 = TextDrawCreate(190.000000, 120.000000, "Rivales Urbanos");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 0);
TextDrawLetterSize(Textdraw0, 1.240000, 5.399999);
TextDrawColor(Textdraw0, -16776961);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);

Textdraw1 = TextDrawCreate(260.000000, 110.000000, "Bienvenido a");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.529999, 1.200000);
TextDrawColor(Textdraw1, 65535);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);

Textdraw3 = TextDrawCreate(240.000000, 174.000000, "Mundo En Guerra");
TextDrawBackgroundColor(Textdraw3, 255);
TextDrawFont(Textdraw3, 1);
TextDrawLetterSize(Textdraw3, 0.509998, 1.600000);
TextDrawColor(Textdraw3, 65535);
TextDrawSetOutline(Textdraw3, 0);
TextDrawSetProportional(Textdraw3, 1);
TextDrawSetShadow(Textdraw3, 1);

Textdraw4 = TextDrawCreate(190.000000, 272.000000, "Escribe /Ayuda si la necesitas.");
TextDrawBackgroundColor(Textdraw4, 255);
TextDrawFont(Textdraw4, 1);
TextDrawLetterSize(Textdraw4, 0.500000, 1.000000);
TextDrawColor(Textdraw4, 16711935);
TextDrawSetOutline(Textdraw4, 0);
TextDrawSetProportional(Textdraw4, 1);
TextDrawSetShadow(Textdraw4, 1);
//Textos mostrados
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);

ї Alguien sabe por quй los textos provocan esos problemas con el terreno ?



Re: Problema con el terreno - Chiri - 04.03.2010

Quizas no sean los textos, tienes algun mod como el enb series?, ese segъn algunos contactos no se vee el suelo.


Re: Problema con el terreno - MrDeath537 - 04.03.2010

Chiri tiene razуn. Por sierto esos textdraws van en OnGameModeInit...


Re: Problema con el terreno - cheriwi - 05.03.2010

Nada, ningъn mod, solo esos textos


Re: Problema con el terreno - xenowort - 05.03.2010

Quote:
Originally Posted by MrDeath
Chiri tiene razуn. Por sierto esos textdraws van en OnGameModeInit...
esos textdraws ponlos en ongamemodeinit

y luego en onplayerconnect pon textdrawshowforplayer o algo asi.


Re: Problema con el terreno - CristianTdj - 05.03.2010

Quote:
Originally Posted by xenowort
Quote:
Originally Posted by MrDeath
Chiri tiene razуn. Por sierto esos textdraws van en OnGameModeInit...
esos textdraws ponlos en ongamemodeinit

y luego en onplayerconnect pon textdrawshowforplayer o algo asi.
Calla, yo lo tengo iguбl y no me pasa nada.


Re: Problema con el terreno - cheriwi - 05.03.2010

Vereis...al ponerlo en OnGameModeInit, me salen 4 errores en las 4 ъltimas lineas

Quote:

error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Si lo dejo ahн, no veo el terreno, si lo quito, no compila.

ї Nadie puede ayudarme ?


Re: Problema con el terreno - xenowort - 05.03.2010

Quote:
Originally Posted by cheriwi
Vereis...al ponerlo en OnGameModeInit, me salen 4 errores en las 4 ъltimas lineas

Quote:

error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Si lo dejo ahн, no veo el terreno, si lo quito, no compila.

ї Nadie puede ayudarme ?
el textdraw showforplayer va en onplayerconnect

mientras que los otros van en ongamemodeinit

aver si se te soluciona.


Re: Problema con el terreno - cheriwi - 05.03.2010

Gracias, 0 errores ya.


Pero sigue el problema del terreno, todo transparente excepto los objetos aсadidos a mano y las puertas de las casas
No tiene que ser culpa del texto a la fuerza, pero empezу a ocurrir cuando se aсadiу


Re: Problema con el terreno - cheriwi - 05.03.2010

Solucionado en el foro general en inglйs.


Pueden cerrar el post