[Ajuda] Ajuda Modificar GM
#2

Altere isso no GM para mudar a posiзгo de fundo, nгo irб adiantar se for uma imagem em textdraw etc. :
SetPlayerCameraPos
SetPlayerCameraLookAt
SetPlayerPos

E, os pontos encima do mapa, vocк deve usar Textdraw
Ja existe alguns FS que tem essa funзгo, besta baixar, colocar no GM se quiser ou nгo, e tambйm se quiser alterar fica a vontade!
Achei isso, nгo testei:
pawn Код:
forward tdscoretimer(playerid);
new tdscore[MAX_PLAYERS];
new Textdraw1[MAX_PLAYERS];

public tdscoretimer()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            new tds[128];
            format(tds, sizeof(tds), "Score:%d",GetPlayerScore(i));
            TextDrawSetString(Textdraw1[i], tds);
        }
    }
    return 1;
}

public OnPlayerConnect(playerid)
{
    new tds[128];
    format(tds, sizeof(tds), "Score:%d",GetPlayerScore(playerid));
    Textdraw1[playerid] = TextDrawCreate(498.000000, 118.000000, tds);
    TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    TextDrawDestroy(Textdraw1[playerid]);
    return 1;
}

public OnGameModeInit()
{
    SetTimer("tdscoretimer", 5000, true);
    return 1;
}
Tem esse tambйm http://pastebin.com/WGiVxCaT , caso nгo estejam encima do mapa й so alterar as posiзхes.
Reply


Messages In This Thread
Ajuda Modificar GM - by NtkGames - 02.07.2014, 20:01
Re: Ajuda Modificar GM - by SpeakDS - 02.07.2014, 20:11
Re: Ajuda Modificar GM - by NtkGames - 02.07.2014, 20:33
Re: Ajuda Modificar GM - by SpeakDS - 02.07.2014, 22:46

Forum Jump:


Users browsing this thread: 1 Guest(s)