Quote:
Originally Posted by RIDE2DAY
Ten en cuenta una cosa, si haces lo siguiente no te va a funcionar:
PHP код:
public OnGameModeInit()
{
g_ServerName = TextDrawCreate();
g_Background = TextDrawCreate();
return 1;
}
/* No te va a funcionar ya que g_Background se crea DESPUЙS de g_ServerName y lo tapa, entonces no se verб el texto. */
Lo ideal serнa ponerlo en este orden:
PHP код:
public OnGameModeInit()
{
g_Background = TextDrawCreate();
g_ServerName = TextDrawCreate();
return 1;
}
/* Ahora g_ServerName se deberнa crear encima del fondo negro y se verнa perfectamente. */
Por otro lado, si por casualidad sospechas que estбs alcanzando el lнmite mбximo de los TextDraws deberнas leerte йste tutorial.
|
Disculpa, pero como defino ambos?