[Ayuda] symbol is assigned a value that is never used ..
#1

Buenas a Todos , cree una variable global y defini el array con un define y me tira error , para ke me entienda mejor aca les dejo un ejemplo.

Que Sucede?

pawn Код:
#include <a_samp>

#define valor (20)
new valores;

public OnFilterScriptInit()
{
    valores = valor; //warning 204: symbol is assigned a value that is never used: "valores"
    return 1;
}

public OnPlayerConnect(playerid) //Ejemplo
{
    GivePlayerMoney(playerid, 2*valor); //<---- iba valores :p Xd
    return 1;
}
desde ya muchas Gracias .

EDIT: Solucionado:

Soy Despistado :P XDDD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)