error 079: inconsistent return types (array & non-array)
#1

Can anyone help with this?
(7806) : error 079: inconsistent return types (array & non-array)
Код:
stock PickupGun(weaponid)
{
    if (weaponid < 0 || weaponid > 64)
    {
        return 0;
    }
    return GunObjects[weaponid];
}
(782 : error 035: argument type mismatch (argument 1)
Код:
GunObject[i] = CreateDynamicObject(PickupGun(weaponid), X, Y, Z-1, 80.0, 0.0, 0.0, VirtualWorld);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)