[Duda] Crear Moneda
#7

Quote:
Originally Posted by DeadSkyTkb
Посмотреть сообщение
їAlgo como йsto sirve?

pawn Код:
stock GivePlayerPuntos(playerid, arma, municion) // Creamos la funciуn.
{
    if(g_PlayerInfo[playerid][pPuntos] == puntos)
    {
        g_PlayerInfo[playerid][pPuntos] += puntos;// Si ya tiene puntos, se le suman.
    }
    return 1;
}
Man en GameModeInit no se usa playerid entonces como le hago para crear el TD?

pawn Код:
Hook:GS_OnGameModeInit()
{
    MonedaTextDraw[playerid] = TextDrawCreate(498.500000,100.000000,"$00000000");
    TextDrawLetterSize(MonedaTextDraw[playerid], 0.55, 2.2);
    TextDrawFont(MonedaTextDraw[playerid], 3);
    TextDrawSetOutline(MonedaTextDraw[playerid], 2);
    TextDrawSetProportional(MonedaTextDraw[playerid], 3);
}
Osea me saltan los errores de que no estan definidas la playerid.

Un saludo y muchas gracias.
Reply


Messages In This Thread
[Duda] Crear Moneda - by oOFotherOo - 23.11.2012, 15:42
Respuesta: [Duda] Crear Moneda - by Glimma - 23.11.2012, 15:45
AW: Respuesta: [Duda] Crear Moneda - by oOFotherOo - 23.11.2012, 15:59
Respuesta: [Duda] Crear Moneda - by Glimma - 23.11.2012, 16:21
AW: Respuesta: [Duda] Crear Moneda - by oOFotherOo - 23.11.2012, 17:06
Respuesta: [Duda] Crear Moneda - by Glimma - 23.11.2012, 17:12
AW: Respuesta: [Duda] Crear Moneda - by oOFotherOo - 23.11.2012, 17:21
Respuesta: [Duda] Crear Moneda - by Glimma - 23.11.2012, 17:23
AW: Respuesta: [Duda] Crear Moneda - by oOFotherOo - 23.11.2012, 17:37
Respuesta: [Duda] Crear Moneda - by Glimma - 23.11.2012, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)